xcb: Disable GLX when xcb-xlib is not present due xlib usage
authorHolger Hans Peter Freyther <zecke@selfish.org>
Wed, 24 Aug 2011 13:12:35 +0000 (21:12 +0800)
committerLars Knoll <lars.knoll@nokia.com>
Fri, 26 Aug 2011 11:34:58 +0000 (13:34 +0200)
commit0d7ef7993dc18a69d0bffd78666ee6ae7fb83e34
tree8ceb4de98e9ccc76cd2d2471d34c812c4e8708b2
parenta1909f834b3d1d36a7cb043aa0ff88bc0774cf27
xcb: Disable GLX when xcb-xlib is not present due xlib usage

The GLX and EGL code is using DISPLAY_FROM_XCB which requires
xlib support, disable GLX when when xlib is not present.

Change-Id: I55126e48e52390fdcfb1348a11fbf9628d32b13c
Reviewed-on: http://codereview.qt.nokia.com/3665
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/plugins/platforms/xcb/qxcbwindow.cpp
src/plugins/platforms/xcb/xcb.pro