assume qt/cocoa menu workaround will
no longer be necessary with qt>=4.5.3
leonb
14 years ago
112 | 112 | { |
113 | 113 | // Message handler |
114 | 114 | qInstallMsgHandler(qtMessageHandler); |
115 | #if defined(Q_WS_MAC) && defined(QT_MAC_USE_COCOA) | |
116 | extern void qt_mac_set_native_menubar(bool); | |
117 | qt_mac_set_native_menubar(false); | |
118 | #endif | |
119 | 115 | |
120 | 116 | // Locale should not mess with printf |
121 | 117 | #ifdef LC_NUMERIC |
122 | 118 | ::setlocale(LC_NUMERIC, "C"); |
119 | #endif | |
120 | ||
121 | // Mac/Cocoa bug workaround | |
122 | #if defined(Q_WS_MAC) && defined(QT_MAC_USE_COCOA) && QT_VERSION<0x40503 | |
123 | extern void qt_mac_set_native_menubar(bool); | |
124 | qt_mac_set_native_menubar(false); | |
123 | 125 | #endif |
124 | 126 | |
125 | 127 | // Translators |