diff options
author | Lincoln Ramsay <lincoln.ramsay@nokia.com> | 2011-10-04 13:20:42 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-06 03:32:06 +0200 |
commit | a67022723b0b2d59011641086f30a41c8ff4dac0 (patch) | |
tree | 8b04c7900572247dd26d276631ff9df438549453 /configure | |
parent | c7f61b8bf5228745f56234f987682092dc5d29ff (diff) | |
download | qtbase-a67022723b0b2d59011641086f30a41c8ff4dac0.tar.gz |
If -xcb is passed and we can't enable xcb, die
Needed to resolve issue QTBUG-21486
Change-Id: I5493cfa73f0433fda60fb0dd850380021e13b928
Reviewed-on: http://codereview.qt-project.org/5944
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -6293,6 +6293,12 @@ if [ "$PLATFORM_QPA" = "yes" ]; then QT_CONFIG="$QT_CONFIG xcb-xlib" fi else + if [ "$CFG_XCB" = "yes" ]; then + echo "The XCB test failed!" + echo " You might need to install dependency packages." + echo " See src/plugins/platforms/xcb/README." + exit 1 + fi CFG_XCB=no fi fi |