summaryrefslogtreecommitdiff
path: root/src/plugins/platforms/wayland/gl_integration/readback_egl/readback_egl.pri
diff options
context:
space:
mode:
authorJorgen Lind <jorgen.lind@gmail.com>2012-07-17 16:32:37 +0200
committerJørgen Lind <jorgen.lind@nokia.com>2012-08-13 14:31:56 +0200
commitddaa441ea0923473e40d70bbe74b0b4c0e4e86b5 (patch)
tree76fb9461619d995fd61820b6a0357c82ec932533 /src/plugins/platforms/wayland/gl_integration/readback_egl/readback_egl.pri
parentb7a2f76e8b1a7422721a77cfe50becafcfe27ccc (diff)
downloadqtwayland-ddaa441ea0923473e40d70bbe74b0b4c0e4e86b5.tar.gz
qtwayland-ddaa441ea0923473e40d70bbe74b0b4c0e4e86b5.tar.bz2
qtwayland-ddaa441ea0923473e40d70bbe74b0b4c0e4e86b5.zip
Make the gl integrations use the same build options as the config tests
Change-Id: I3efbd0c87c19c8ff2c382c56d2ca34bbe2e7033d Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src/plugins/platforms/wayland/gl_integration/readback_egl/readback_egl.pri')
-rw-r--r--src/plugins/platforms/wayland/gl_integration/readback_egl/readback_egl.pri7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/platforms/wayland/gl_integration/readback_egl/readback_egl.pri b/src/plugins/platforms/wayland/gl_integration/readback_egl/readback_egl.pri
index 3325fe8..51890ff 100644
--- a/src/plugins/platforms/wayland/gl_integration/readback_egl/readback_egl.pri
+++ b/src/plugins/platforms/wayland/gl_integration/readback_egl/readback_egl.pri
@@ -1,4 +1,9 @@
-LIBS += -lX11 -lXext -lEGL
+!contains(QT_CONFIG, no-pkg-config) {
+ CONFIG += link_pkgconfig
+ PKGCONFIG += egl x11 xext
+} else {
+ LIBS += -lX11 -lXext -lEGL
+}
load(qpa/egl/convenience)
HEADERS += \