[Qt-interest] White space problem

sujan sujan.dasmahapatra at gmail.com
Thu Jul 28 20:49:34 CEST 2011


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


More information about the Qt-interest-old mailing list