summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2010-11-21 13:18:51 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-01-25 18:05:50 (GMT)
commit9d8b093f05a936cdd18f50474cb47c59ed42ac14 (patch)
treed0444808c893227e4e4590c4c1f58ce264760be9 /src/plugins/platforms
parent959b42b5f227486554ab82d50c29d3d2d3f40c08 (diff)
downloadQt-9d8b093f05a936cdd18f50474cb47c59ed42ac14.zip
Qt-9d8b093f05a936cdd18f50474cb47c59ed42ac14.tar.gz
Qt-9d8b093f05a936cdd18f50474cb47c59ed42ac14.tar.bz2
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
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r--src/plugins/platforms/wayland/wayland.pro6
1 files changed, 5 insertions, 1 deletions
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)