summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/wayland/custom-extension/client/client.pro6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/wayland/custom-extension/client/client.pro b/examples/wayland/custom-extension/client/client.pro
index 03056f22b..c2e9a77d7 100644
--- a/examples/wayland/custom-extension/client/client.pro
+++ b/examples/wayland/custom-extension/client/client.pro
@@ -2,10 +2,16 @@ PLUGIN_TYPE = platforms
load(qt_plugin)
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