summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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