[Qt-interest] QProcess and Vista
Willy P
willy.lists at gmail.com
Sat Feb 14 11:04:54 CET 2009
Ok, I've made some progress. It seems the problem is the args
QStringList does not work on Vista.
If I run:
QProcess p;
p.execute( "cmd.exe /C Notepad.exe" );
It works fine on Vista. Strikes me as a bug no? Anyone else having this issue?
-Willy
On Fri, Feb 13, 2009 at 5:05 PM, Willy P <willy.lists at gmail.com> wrote:
> 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