summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qwayland-egl/qwayland-egl.pro
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@digia.com>2013-01-31 15:58:14 +0100
committerAndy Nichols <andy.nichols@digia.com>2013-02-06 14:19:35 +0100
commit4cbc411f60d17a6d4f4e9d4156146537d5dc2f16 (patch)
treed73b8d890f9e9e56c988f298f47a20370890bfed /src/plugins/platforms/qwayland-egl/qwayland-egl.pro
parent634c4f6877d63cc30914049989b5cbfd18cd15c3 (diff)
Overhaul how platform plugins are built
Instead of building only one platform plugin through the use of a complicated if/else structure, build a plugin for each available hardware integration type. Change-Id: If133576515a881274019c1ac5956605f27a9fc40 Reviewed-by: Andy Nichols <andy.nichols@digia.com> Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Diffstat (limited to 'src/plugins/platforms/qwayland-egl/qwayland-egl.pro')
-rw-r--r--src/plugins/platforms/qwayland-egl/qwayland-egl.pro26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/plugins/platforms/qwayland-egl/qwayland-egl.pro b/src/plugins/platforms/qwayland-egl/qwayland-egl.pro
new file mode 100644
index 000000000..cdebf9bbc
--- /dev/null
+++ b/src/plugins/platforms/qwayland-egl/qwayland-egl.pro
@@ -0,0 +1,26 @@
+PLUGIN_TYPE = platforms
+load(qt_plugin)
+
+include(../wayland_common/wayland_common.pri)
+
+OTHER_FILES += \
+ qwayland-egl.json
+
+!contains(QT_CONFIG, no-pkg-config) {
+ CONFIG += link_pkgconfig
+ PKGCONFIG += wayland-egl egl
+} else {
+ LIBS += -lwayland-egl -lEGL
+}
+
+SOURCES += qwaylandeglintegration.cpp \
+ qwaylandglcontext.cpp \
+ qwaylandeglwindow.cpp \
+ qwaylandegldecoration.cpp \
+ main.cpp
+
+HEADERS += qwaylandeglintegration.h \
+ qwaylandglcontext.h \
+ qwaylandeglwindow.h \
+ qwaylandegldecoration.h \
+ qwaylandeglinclude.h