On Tuesday March 31 2015 13:56:33 René J.V. Bertin wrote: > I think it is caused by creating a QMenuBar explicitly, without specifying a > parent object. That eventually leads to the application icon appearing in the > Dock, too, so it would seem that
Not exactly; Qt Creator presumed that if isMacHost() == true, Qt is by definition using Cocoa (which is usually true): https://github.com/RJVB/mp-port-repository/blob/master/devel/qt5-creator-mac/files/patch-show-menubar-with-xcb.diff https://github.com/RJVB/mp-port-repository/blob/master/devel/qt5-creator-mac/files/patch-no-dockmenu-xcb.diff And for giggles: https://trac.macports.org/attachment/ticket/47329/2QtCreators.png The Designer code is even more blunt: equating #ifdef Q_OS_OSX with Cocoa mode: https://github.com/RJVB/mp-port-repository/blob/master/aqua/qt5-mac-devel/files/patch-designer-show-menubar-on-xcb.diff Cheers, R. _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
