[Interest] Menu in Mac
Alejandro Exojo
suy at badopi.org
Thu Sep 24 23:42:13 CEST 2015
El Thursday 24 September 2015, Rollastre Prostrit escribió:
> Well, I had a strike of inspiration and decided to try something that
> turned out to be the reason. The dark trick to make this to work properly
> was not related to Qt but to OSX. And apparently, if your application is
> not inside a bundle directory (e.g.
> ./$(AppName.app)/Contents/MacOS/) then the problem mentioned below
> happens. I manually created the directory structure and made the
> corresponding links inside the right folder to emulate a bundle and voilà.
> Now the application menu is shown on startup as it always should have
> been.
When using qmake as build system, this is the default. If somehow you've
disabled it:
CONFIG += app_bundle
--
Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
http://barnacity.net/ | http://disperso.net
More information about the Interest
mailing list