Mac: buildfix for cocoa lighthouse plugin
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>
Mon, 20 Jun 2011 12:18:01 +0000 (14:18 +0200)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>
Mon, 20 Jun 2011 12:18:26 +0000 (14:18 +0200)
Rev-By: msorvig
src/plugins/platforms/cocoa/cocoa.pro
src/plugins/platforms/cocoa/qcocoaintegration.mm

index 5573b19..1136739 100644 (file)
@@ -29,6 +29,7 @@ LIBS += -lz
 LIBS += -framework cocoa
 
 QT += core-private gui-private platformsupport-private
+LIBS += -lQtPlatformSupport
 
 CONFIG += qpa/basicunixfontdatabase
 target.path += $$[QT_INSTALL_PLUGINS]/platforms
index dfe225f..c6ace53 100644 (file)
@@ -45,8 +45,7 @@
 #include "qcocoawindowsurface.h"
 #include "qcocoanativeinterface.h"
 
-#include "qbasicunixfontdatabase.h"
-
+#include <QtPlatformSupport/5.0.0/QtPlatformSupport/private/qbasicunixfontdatabase_p.h>
 #include <private/qpixmap_raster_p.h>
 
 QT_BEGIN_NAMESPACE