Make Cocoa the default platform plugin on Mac.
authorMorten Sorvig <morten.sorvig@nokia.com>
Fri, 20 May 2011 09:31:23 +0000 (11:31 +0200)
committerMorten Sorvig <morten.sorvig@nokia.com>
Fri, 20 May 2011 09:31:23 +0000 (11:31 +0200)
mkspecs/common/mac/qplatformdefs.h

index 114a1a3..b487d84 100644 (file)
@@ -42,6 +42,8 @@
 #ifndef QPLATFORMDEFS_H
 #define QPLATFORMDEFS_H
 
+#define QT_QPA_DEFAULT_PLATFORM_NAME "cocoa"
+
 // Get Qt defines/settings
 
 #include "qglobal.h"