cannot use class QProcess in qt on windows 7 -


i used qprocess execute exe file in qt on windows xp. works normally, while not on windows 7. think it's because of uac issue on windows 7(or windows vista). can me solve problem please? in advance. , here's code:

qprocess p(0); p.start("cmd", qstringlist()<<"/c"<<"copy .\\tmp\\gameskoreclient.exe .\\gameskoreclient.exe"); 

you start process correctly, receive results, have wait until process finished. add line after started process:

p.waitforfinished(); 

and close precess afterwards:

p.close() 

Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -