adjust to qt_plugin.prf changes
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>
Wed, 24 Oct 2012 13:42:43 +0000 (15:42 +0200)
committerAndy Nichols <andy.nichols@digia.com>
Wed, 24 Oct 2012 18:31:23 +0000 (20:31 +0200)
DESTDIR and INSTALLS+=target are set up automatically now, but
PLUGIN_TYPE needs to be defined.

Change-Id: I82a97498be26a6e9021deb6fff02a21bd4787851
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
src/plugins/platforms/wayland/wayland.pro

index 2a74522..6639feb 100644 (file)
@@ -1,10 +1,10 @@
 TARGET = qwayland
+
+PLUGIN_TYPE = platforms
 load(qt_plugin)
 
 CONFIG += link_pkgconfig qpa/genericunixfontdatabase
 
-DESTDIR = $$QT.compositor.plugins/platforms
-
 QT += core-private gui-private platformsupport-private
 
 SOURCES =   main.cpp \
@@ -86,9 +86,6 @@ INCLUDEPATH += $$PWD/../../../shared
     LIBS += -lwayland-client
 }
 
-target.path += $$[QT_INSTALL_PLUGINS]/platforms
-INSTALLS += target
-
 include ($$PWD/gl_integration/gl_integration.pri)
 include ($$PWD/windowmanager_integration/windowmanager_integration.pri)