summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/kms/kms.pro
diff options
context:
space:
mode:
authorHannu Lyytinen <hannu.lyytinen@nomovok.com>2012-04-10 16:12:21 +0300
committerQt by Nokia <qt-info@nokia.com>2012-04-11 12:40:56 +0200
commitc343f710f4d59643ab6b6d200cff29edee482094 (patch)
treed897dc6aac9153c09246123bf658b94ca6d762fc /src/plugins/platforms/kms/kms.pro
parent9cdfeb2b84bcdb4f9dd5060283c0745224a7c58d (diff)
Use the new plugin system in the KMS plugin.
Sync up the KMS QPA plugin with the plugin system changes. Change-Id: Ifaa8be6f11aeb93acc63643c62ca15db4e9bc38f Reviewed-by: Andy Nichols <andy.nichols@nokia.com>
Diffstat (limited to 'src/plugins/platforms/kms/kms.pro')
-rw-r--r--src/plugins/platforms/kms/kms.pro21
1 files changed, 7 insertions, 14 deletions
diff --git a/src/plugins/platforms/kms/kms.pro b/src/plugins/platforms/kms/kms.pro
index 73a3fa0418..5b91326a39 100644
--- a/src/plugins/platforms/kms/kms.pro
+++ b/src/plugins/platforms/kms/kms.pro
@@ -1,11 +1,12 @@
TARGET = qkms
-
load(qt_plugin)
-QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/platforms
-QT = core-private gui-private platformsupport-private opengl-private
+QT += core-private gui-private platformsupport-private opengl-private
+DESTDIR = $$QT.gui.plugins/platforms
+
+DEFINES += MESA_EGL_NO_X11_HEADERS
-CONFIG += link_pkgconfig qpa/genericunixfontdatabase
+CONFIG += link_pkgconfig egl qpa/genericunixfontdatabase
PKGCONFIG += libdrm egl gbm glesv2
@@ -30,13 +31,5 @@ HEADERS = qkmsintegration.h \
target.path += $$[QT_INSTALL_PLUGINS]/platforms
INSTALLS += target
-
-
-
-
-
-
-
-
-
-
+OTHER_FILES += \
+ kms.json