René J. V. Bertin wrote: > And FWIW, I cannot find where AA_DontShowIconsInMenus is set in the default > attributes on OS X (and other platforms where this would be required). That > should be the initialisation of uint QCoreApplicationPrivate::attribs in > qcoreapplication.cpp, no?
Confirmed, the attached patch sets the correct/expected default. R.
diff --git a/qtbase/src/corelib/kernel/qcoreapplication.cpp b/qtbase/src/corelib/kernel/qcoreapplication.cpp index ecafe91..66dff23 100644 --- a/qtbase/src/corelib/kernel/qcoreapplication.cpp +++ b/qtbase/src/corelib/kernel/qcoreapplication.cpp @@ -319,7 +319,12 @@ Qt::HANDLE qt_application_thread_id = 0; #endif // QT_NO_QOBJECT QCoreApplication *QCoreApplication::self = 0; +#if defined(Q_OS_MAC) +uint QCoreApplicationPrivate::attribs = (1 << Qt::AA_SynthesizeMouseForUnhandledTouchEvents) + | (1 << Qt::AA_DontShowIconsInMenus); +#else uint QCoreApplicationPrivate::attribs = (1 << Qt::AA_SynthesizeMouseForUnhandledTouchEvents); +#endif struct QCoreApplicationData { QCoreApplicationData() Q_DECL_NOTHROW {
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest