[Qt-interest] White space problem

sujan sujan.dasmahapatra at gmail.com
Thu Jul 28 22:02:00 CEST 2011


Tell me the correct way to use \ character.Thanks sujan

 

From: qt-interest-bounces+sujan.dasmahapatra=gmail.com at qt.nokia.com
[mailto:qt-interest-bounces+sujan.dasmahapatra=gmail.com at qt.nokia.com] On
Behalf Of Scott Aron Bloom
Sent: Thursday, July 28, 2011 11:57 AM
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] White space problem

 

Its not the spaces that are causing the problems.

 

Its your incorrect use of the \ character.

 

I bet you are getting a warning from the compiler saying "unknown escape
character \p \m \o" etc

 

Scott

 

From: qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com
[mailto:qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com] On
Behalf Of sujan
Sent: Thursday, July 28, 2011 11:50 AM
To: qt-interest at trolltech.com
Subject: [Qt-interest] White space problem

 

Dear Friends

See the code snippet below

        QProcess process(this);

        process.setWorkingDirectory("c:\program files\microsoft
office\office14");

        process.start("outlook.exe");

        process.waitForStarted(-1);

        process.waitForFinished(-1);

                process.terminate();

 

Above setWorkingDirectory contains white space in the names, so my outlook
is not opening in windows. Please give me some solution how can I open
outlook from the default location in window. Thanks sujan

Thanks & Regards

Sujan Dasmahapatra

B.E(Aeronautics)

Bangalore,India

Mob: 91-9900839788

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110728/bc73242c/attachment.html 


More information about the Qt-interest-old mailing list