summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@jollamobile.com>2013-12-10 13:03:57 +0100
committerRobin Burchell <robin+qt@viroteck.net>2013-12-11 13:47:20 +0100
commit0bd25167e8d75989312641b119218981af76fb42 (patch)
tree77a365974f4ba777137bd445e537f57b8742ad8d
parent1024bb390e72d66887fd37a3af32677d9b73cfaf (diff)
downloadqtwayland-0bd25167e8d75989312641b119218981af76fb42.tar.gz
qtwayland-0bd25167e8d75989312641b119218981af76fb42.tar.bz2
qtwayland-0bd25167e8d75989312641b119218981af76fb42.zip
Link against glib if necessary.
Change-Id: Ie0f87c24d15a6784cc9ed1201d3578ffbf94d191 Done-with: Carsten Munk <carsten.munk@jollamobile.com> Reviewed-by: Andrew Knight <andrew.knight@digia.com>
-rw-r--r--src/plugins/platforms/wayland_common/wayland_common_share.pri3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/platforms/wayland_common/wayland_common_share.pri b/src/plugins/platforms/wayland_common/wayland_common_share.pri
index fb1e3335..a2e72715 100644
--- a/src/plugins/platforms/wayland_common/wayland_common_share.pri
+++ b/src/plugins/platforms/wayland_common/wayland_common_share.pri
@@ -17,8 +17,9 @@ config_xkbcommon {
!contains(QT_CONFIG, no-pkg-config) {
PKGCONFIG += wayland-client wayland-cursor
+ contains(QT_CONFIG, glib): PKGCONFIG_PRIVATE += glib-2.0
} else {
- LIBS += -lwayland-client -lwayland-cursor
+ LIBS += -lwayland-client -lwayland-cursor $$QT_LIBS_GLIB
}
INCLUDEPATH += $$PWD/../../../shared