Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, April 2008
QProcess can not load Keynote?


Message 1 in thread

I am trying to start Keynote (presentation preparation like Power point
under windows) within my program. The following is what I did:

QString program = "
/Applications/iWork08/Keynote.app/Contents/MacOS/Keynote";

QProcess *myProcess = new QProcess(this);

myProcess->start(program);


But nothing happened. I am really stucked here. What's wrong with what I
did?



Thank you.

Message 2 in thread

Hi,

> QString program = 
> "/Applications/iWork08/Keynote.app/Contents/MacOS/Keynote";

With Qt 4, this should work:
	QString program =  "/Applications/iWork08/Keynote.app";

For example, see also:
http://lists.trolltech.com/qt-interest/2006-05/thread00383-0.html

--
 [ signature omitted ]