summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/xcb.pro
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@digia.com>2012-11-02 15:08:25 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-07 08:42:29 +0100
commit04f6edc37947dee62bf735e39aa5ae9cf5a637c7 (patch)
treee00bb11596246af2765ac9726db92e2ac1b69426 /src/plugins/platforms/xcb/xcb.pro
parent565b6bd6354f9edd63e493aa41087550b4e08ae5 (diff)
Resolve xcb_poll_for_queued_event at run-time.
By not making this a compile time decision we ensure forward compatibility for older xcb versions if the xcb plugin is built against a newer xcb. Change-Id: I744777d53bf7b8deb6eff372494f4403d19d364c Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/plugins/platforms/xcb/xcb.pro')
-rw-r--r--src/plugins/platforms/xcb/xcb.pro4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/platforms/xcb/xcb.pro b/src/plugins/platforms/xcb/xcb.pro
index 34f7c74675..8a3e9e8e5e 100644
--- a/src/plugins/platforms/xcb/xcb.pro
+++ b/src/plugins/platforms/xcb/xcb.pro
@@ -40,9 +40,7 @@ HEADERS = \
qxcbimage.h \
qxlibconvenience.h
-contains(QT_CONFIG, xcb-poll-for-queued-event) {
- DEFINES += XCB_POLL_FOR_QUEUED_EVENT
-}
+LIBS += -ldl
# needed by GLX, Xcursor, XLookupString, ...
contains(QT_CONFIG, xcb-xlib) {