From 68c65ddfa94be74d9c35ec056d48dd961387799d Mon Sep 17 00:00:00 2001 From: Paul Olav Tvete Date: Thu, 14 Jan 2016 09:39:14 +0100 Subject: Link with the wayland-client library Change-Id: I888f7289285a57a7c0a4a01054b4f691b178ad73 Reviewed-by: Oswald Buddenhagen --- examples/wayland/custom-extension/client/client.pro | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3