summaryrefslogtreecommitdiffstats
path: root/src/plugins/shellintegration/xdg-shell-v5/xdg-shell-v5.pro
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2018-05-08 16:31:16 +0200
committerJohan Helsing <johan.helsing@qt.io>2018-05-09 11:04:35 +0000
commitf11c2993d2173d97ab74a36cac5603dff1c32997 (patch)
tree81e76f6dbbe94dbeb7bddbbde09bb31f6d6b85f2 /src/plugins/shellintegration/xdg-shell-v5/xdg-shell-v5.pro
parent7344822dd3991fa4b914531d7e2a42b1c05c1e9d (diff)
Move xdg-shell-v5 to a plugin
This is the first step in deprecating xdg-shell unstable v5 and making the good names available for the good names for xdg-shell stable. Shell initialization has been refactored slightly, so the QWaylandShellIntegrationFactory actually tries to initialize the shell integration before returning it. Similarly for the factory method of non-plugin shells. Change-Id: I85e60594c4fc03c6f302c04316110aed428d28dc Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/plugins/shellintegration/xdg-shell-v5/xdg-shell-v5.pro')
-rw-r--r--src/plugins/shellintegration/xdg-shell-v5/xdg-shell-v5.pro30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/plugins/shellintegration/xdg-shell-v5/xdg-shell-v5.pro b/src/plugins/shellintegration/xdg-shell-v5/xdg-shell-v5.pro
new file mode 100644
index 000000000..85052fef6
--- /dev/null
+++ b/src/plugins/shellintegration/xdg-shell-v5/xdg-shell-v5.pro
@@ -0,0 +1,30 @@
+QT += gui-private waylandclient-private
+CONFIG += wayland-scanner
+
+QMAKE_USE += wayland-client
+
+qtConfig(xkbcommon-evdev): \
+ QMAKE_USE += xkbcommon_evdev
+
+WAYLANDCLIENTSOURCES += \
+ ../../../3rdparty/protocol/xdg-shell.xml
+
+HEADERS += \
+ qwaylandxdgpopup_p.h \
+ qwaylandxdgshell_p.h \
+ qwaylandxdgshellintegration_p.h \
+ qwaylandxdgsurface_p.h \
+
+SOURCES += \
+ main.cpp \
+ qwaylandxdgpopup.cpp \
+ qwaylandxdgshell.cpp \
+ qwaylandxdgshellintegration.cpp \
+ qwaylandxdgsurface.cpp \
+
+OTHER_FILES += \
+ xdg-shell-v5.json
+
+PLUGIN_TYPE = wayland-shell-integration
+PLUGIN_CLASS_NAME = QWaylandXdgShellV5IntegrationPlugin
+load(qt_plugin)