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
commiteded1f801e8bdb44ce4619149e08935f9adacdc7 (patch)
treefd5777915fa69f58a2860092531807d25d5b382b /src/plugins/platforms/wayland/wayland.pro
parentc58db2cd03d999d98bea3e961601668536ebc284 (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 b37bfbbb3..6a6ffdffc 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