[Qt-interest] launch MacOS bundle

alessandro.portale at nokia.com alessandro.portale at nokia.com
Fri Aug 6 10:09:30 CEST 2010


I want to suggest a small experiment, though I do not have a mac to test it :)

Can you try opening the bundle with QDesktopServices::openUrl() ?
   http://doc.qt.nokia.com/4.6/qdesktopservices.html#openUrl

I would try with and without the '.app' extension.

Alessandro
________________________________________
From: qt-interest-bounces at trolltech.com [qt-interest-bounces at trolltech.com] On Behalf Of ext Serge [mb0 at km.ru]
Sent: Friday, August 06, 2010 09:24
To: qt-interest at trolltech.com
Subject: [Qt-interest] launch MacOS bundle

Hello,

i need to launch MacOS bundle from my QT program.
If i use QProcess::startDetached and launching executable, located in
/Contents/MacOS, it is launching, but its button in taskbar have default
icon instead of custom icon, located in /Contents/Resources.

Same result i receive if launch executable from command line.

How to launch MacOS bundle, so that it would have needed icon in task
bar (work as bundle, not as single executable)?

--
Thank you!
_______________________________________________
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