From fc9a648dc03ec4531553bc3d65ae4dba3c5b5980 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Lind?= Date: Mon, 6 Jun 2011 08:45:02 +0200 Subject: Make building of platform plugins indifferent if its out of source This requires some source files to be shipped with the Qt install They are now copied into QT_INSTALL_DATA/platform --- src/plugins/platforms/cocoa/cocoa.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/platforms/cocoa') diff --git a/src/plugins/platforms/cocoa/cocoa.pro b/src/plugins/platforms/cocoa/cocoa.pro index 117dbe46d9..5a980a8a18 100644 --- a/src/plugins/platforms/cocoa/cocoa.pro +++ b/src/plugins/platforms/cocoa/cocoa.pro @@ -1,5 +1,5 @@ TARGET = qcocoa -load(qt_plugin) +load(qpa/plugin) DESTDIR = $$QT.gui.plugins/platforms OBJECTIVE_SOURCES = main.mm \ @@ -32,6 +32,6 @@ LIBS += -framework cocoa QT += core-private gui-private -include(../fontdatabases/basicunix/basicunix.pri) +load(qpa/fontdatabases/basicunix) target.path += $$[QT_INSTALL_PLUGINS]/platforms INSTALLS += target -- cgit v1.2.3