[Qt-interest] QProcess and Vista

Willy P willy.lists at gmail.com
Sat Feb 14 02:05:43 CET 2009


Hey,
Is there something special I have to do to get QProcess to run on Vista?

QStringList args() << "/C" << "Notepad.exe";
QProcess p;
p.start( "cmd.exe", args );

On XP this launches notepad, on Vista it gives me QProcess ErrorCode 0.

-Using Qt 4.4.3 commercial
-App is being built with visual studio 2005 on an XP machine
-App is being installed on an up to date Vista Ultimate machine.

Thanks in advance for any advice.

-Willy



More information about the Qt-interest-old mailing list