From 9d8b093f05a936cdd18f50474cb47c59ed42ac14 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Sun, 21 Nov 2010 14:18:51 +0100 Subject: wayland: use pkgconfig for libdrm in wayland.pro On this system the IncludePath for drm.h was missing So maybe pkgconfig should be additionally also used for libxkbcommon, EGL and GLESv2 to prevent such problems. but i dont know whether its common to use pkg-config in qmake --- src/plugins/platforms/wayland/wayland.pro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/plugins/platforms/wayland/wayland.pro b/src/plugins/platforms/wayland/wayland.pro index b0cb98b..4c01fa2 100644 --- a/src/plugins/platforms/wayland/wayland.pro +++ b/src/plugins/platforms/wayland/wayland.pro @@ -16,7 +16,11 @@ HEADERS = qwaylandintegration.h \ contains(QT_CONFIG, opengl) { QT += opengl } -LIBS += -lwayland-client -ldrm -lxkbcommon -lEGL -lGLESv2 +LIBS += -lwayland-client -lxkbcommon -lEGL -lGLESv2 +unix { + CONFIG += link_pkgconfig + PKGCONFIG += libdrm +} include (../fontdatabases/fontconfig/fontconfig.pri) -- cgit v0.12