summaryrefslogtreecommitdiffstats
path: root/examples/wayland/custom-shell/client-plugin/client-plugin.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/custom-shell/client-plugin/client-plugin.pro')
-rw-r--r--examples/wayland/custom-shell/client-plugin/client-plugin.pro33
1 files changed, 33 insertions, 0 deletions
diff --git a/examples/wayland/custom-shell/client-plugin/client-plugin.pro b/examples/wayland/custom-shell/client-plugin/client-plugin.pro
new file mode 100644
index 000000000..96a01c231
--- /dev/null
+++ b/examples/wayland/custom-shell/client-plugin/client-plugin.pro
@@ -0,0 +1,33 @@
+QT += gui-private waylandclient-private
+CONFIG += plugin wayland-scanner
+TEMPLATE = lib
+
+QMAKE_USE += wayland-client
+
+qtConfig(xkbcommon): \
+ QMAKE_USE += xkbcommon
+
+WAYLANDCLIENTSOURCES += \
+ ../protocol/example-shell.xml
+
+HEADERS += \
+ exampleshellintegration.h \
+ examplesurface.h
+
+SOURCES += \
+ main.cpp \
+ exampleshellintegration.cpp \
+ examplesurface.cpp
+
+OTHER_FILES += \
+ example-shell.json
+
+DESTDIR = ../plugins/wayland-shell-integration
+TARGET = $$qtLibraryTarget(exampleshellplugin)
+
+### Everything below this line is just to make the example work inside the Qt source tree.
+### Do not include the following lines in your own code.
+
+target.path = $$[QT_INSTALL_EXAMPLES]/wayland/customshell/plugins/wayland-shell-integration
+INSTALLS += target
+CONFIG += install_ok