Quark-antiquark potential in QCD