[Qt-interest] QProcess and Vista
Willy P
willy.lists at gmail.com
Sun Feb 15 00:35:25 CET 2009
Path is fine. Permissions are fine. I did my best to un-vista vista
(by that I mean I took steps to cut down on the warnings.) Any more
specific advice on environment or security protocols?
On Sat, Feb 14, 2009 at 9:15 AM, Scott Aron Bloom
<Scott.Bloom at sabgroup.com> wrote:
> I have an application that is distrusted on Vista as well as XP...
>
> The same QProcess call, using QStringList works fine...
>
> Check your path, your environment, and your security protocols.
>
> Scott
>
>> -----Original Message-----
>> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-
>> bounces at trolltech.com] On Behalf Of Willy P
>> Sent: Saturday, February 14, 2009 2:05 AM
>> To: Qt Interest
>> Subject: Re: [Qt-interest] QProcess and Vista
>>
>> 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
>> >
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
More information about the Qt-interest-old
mailing list