[Qt-interest] double-click on my application bundle doesn't work
nico remy
nico97492 at gmail.com
Thu Dec 3 11:26:46 CET 2009
Hi,
I have an app that works on Linux and Windows and I am trying to port
it to MacOS (using Qt4.5 et Snow Leopard).
I created an app bundle, moved the required frameworks in it and
played with install_name_tool.
If I run the app from a terminal myapp.app/Contents/MacOS/myapp,
everything works as expected (the GUI shows up, etc). But if I
double-click on the bundle, the icon briefly appears in the dock and
disappears, and that's it. If from the Finder, I go into the bundle,
into Contents/MacOS and double-click on myapp, it opens a terminal and
the GUI.
I compiled the app from the command line, using qmake to generate makefiles.
Does this look like a common mistake (e.g., something I should add to
qmake's CONFIG) ?
Thank you for your help,
Nicolas
More information about the Qt-interest-old
mailing list