summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/wayland.pro
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-06-09 15:56:55 +0200
committerJørgen Lind <jorgen.lind@nokia.com>2011-06-10 09:46:56 +0200
commit6ee65dc4785b9f38cfd7405a5535c88feb3a0ea1 (patch)
treeff55c0b4037cc0b9c247667fb887af8b1893a7b9 /src/plugins/platforms/wayland/wayland.pro
parent17763a7b31c1f6df6f7725c4b67e5dcc4d3b00fb (diff)
QtPlatformSupport: A helper library for platform plugins
QtPlatformSupport is a static library. Platform plugins are meant to link against this library to pull in dependencies such as fontengines and convenience functions for finding the right GL configs. The linker will only pull in the symbols used, so the size of the library doesn't really matter
Diffstat (limited to 'src/plugins/platforms/wayland/wayland.pro')
-rw-r--r--src/plugins/platforms/wayland/wayland.pro19
1 files changed, 3 insertions, 16 deletions
diff --git a/src/plugins/platforms/wayland/wayland.pro b/src/plugins/platforms/wayland/wayland.pro
index b37bfbbb3b..6a6ffdffc0 100644
--- a/src/plugins/platforms/wayland/wayland.pro
+++ b/src/plugins/platforms/wayland/wayland.pro
@@ -1,14 +1,14 @@
TARGET = qwayland
-load(qpa/plugin)
+load(qt_plugin)
-QT+=gui-private core-private opengl-private
+CONFIG += qpa/genericunixfontdatabase
DESTDIR = $$QT.gui.plugins/platforms
DEFINES += Q_PLATFORM_WAYLAND
DEFINES += $$QMAKE_DEFINES_WAYLAND
-QT += core-private gui-private opengl-private
+QT += core-private gui-private opengl-private platformsupport-private
SOURCES = main.cpp \
qwaylandintegration.cpp \
@@ -37,19 +37,6 @@ INCLUDEPATH += $$QMAKE_INCDIR_WAYLAND
LIBS += $$QMAKE_LIBS_WAYLAND
QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_WAYLAND
-INCLUDEPATH += $$PWD
-
-QT += gui-private
-QT += opengl-private
-QT += core-private
-QT += widgets-private
-
-include ($$PWD/gl_integration/gl_integration.pri)
-
-include ($$PWD/windowmanager_integration/windowmanager_integration.pri)
-
-load(qpa/fontdatabases/genericunix)
-
target.path += $$[QT_INSTALL_PLUGINS]/platforms
INSTALLS += target