[Qt-interest] launch MacOS bundle
Serge
mb0 at km.ru
Fri Aug 6 12:16:22 CEST 2010
This method works.
With '.app' extension.
Is there a way to receive errorString(), like in QProcess, if
QDesktopServices::openUrl returns false?
--
Thank you!
alessandro.portale at nokia.com wrote:
> 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