summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@theqtcompany.com>2016-01-14 09:39:14 +0100
committerPaul Olav Tvete <paul.tvete@theqtcompany.com>2016-01-14 16:03:12 +0000
commit68c65ddfa94be74d9c35ec056d48dd961387799d (patch)
treeb41bdd8beea01d3d1aaf11b2439f3e9871071248
parenta3aa68222d586f38e261f8dae5b2d50230f3ebb3 (diff)
Link with the wayland-client library
Change-Id: I888f7289285a57a7c0a4a01054b4f691b178ad73 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-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