[Qt-interest] White space problem

Scott Aron Bloom Scott.Bloom at onshorecs.com
Thu Jul 28 20:57:05 CEST 2011


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/dc82e70e/attachment.html 


More information about the Qt-interest-old mailing list