summaryrefslogtreecommitdiffstats
path: root/examples/wayland/custom-extension/client-common/client.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/custom-extension/client-common/client.pro')
-rw-r--r--examples/wayland/custom-extension/client-common/client.pro26
1 files changed, 26 insertions, 0 deletions
diff --git a/examples/wayland/custom-extension/client-common/client.pro b/examples/wayland/custom-extension/client-common/client.pro
new file mode 100644
index 000000000..9ba72bc9c
--- /dev/null
+++ b/examples/wayland/custom-extension/client-common/client.pro
@@ -0,0 +1,26 @@
+CONFIG += wayland-scanner
+CONFIG += link_pkgconfig
+
+TARGET = custom-wayland
+
+QT += waylandclient-private
+!contains(QT_CONFIG, no-pkg-config) {
+ PKGCONFIG += wayland-client
+} else {
+ LIBS += -lwayland-client
+}
+
+WAYLANDCLIENTSOURCES += ../protocol/custom.xml
+
+OTHER_FILES += client.json
+
+SOURCES += main.cpp \
+ customextension.cpp
+
+HEADERS += customextension.h
+
+PLUGIN_TYPE = platforms
+load(qt_plugin)
+
+# Installation into a "proper" Qt location is most unexpected for from an example.
+CONFIG += install_ok