qt5base-lts/util
Simon Hausmann 8c60782124 Fix XCB feature detection
The xcb feature controls whether to build the xcb platform plugin. The
feature depends among other things on

    qt_find_package(XCB 1.9 PROVIDED_TARGETS XCB::XCB)

to succeed. This means at the moment setting XCB_FOUND to true, that's
what the condition checks.

Later on, in configure.cmake, we also check for other components in the
XCB package, for example:

    qt_find_package(XCB COMPONENTS XINPUT PROVIDED_TARGETS XCB::XINPUT)

If this component is not available, the xcb platform plugin has perhaps
reduce functionality, but it should be built and the feature should be
abled. However it isn't, because when that find_package call fails,
XCB_FOUND will be set to false. And that in turn will disable the
feature as the condition fails.

Therefore this patch changes the condition to check for the presence of
the XCB::XCB target instead.

Change-Id: I534087d8c3b7ff5edf81a5ffcf16cc0bb78b9fb7
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2019-06-26 09:07:20 +00:00
..
accessibilityinspector Updated license headers 2016-01-21 18:55:18 +00:00
aglfn Updated license headers 2016-01-21 18:55:18 +00:00
cmake Fix XCB feature detection 2019-06-26 09:07:20 +00:00
corelib/qurl-generateTLDs Merge remote-tracking branch 'origin/5.13' into dev 2019-04-24 09:52:30 +02:00
edid Minor grammar fixup 2018-08-03 18:11:24 +00:00
glgen Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
gradientgen Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
harfbuzz Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
includemocs QtCore: include mocs 2017-05-05 03:03:30 +00:00
integrity Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
lexgen Make util/lexgen/ mention itself in its auto-gen line 2018-11-01 15:07:05 +00:00
locale_database Separate out the time, zone, date code from corelib/tools/ 2019-06-06 15:54:32 +02:00
plugintest Updated license headers 2016-01-21 18:55:18 +00:00
unicode Replace Q_DECL_NOTHROW with noexcept the remaining places 2019-04-09 14:48:42 +00:00
x86simdgen SIMD: Change the way we declare constants for x86 2018-07-09 00:18:30 +00:00
xkbdatagen Updated license headers 2016-01-21 18:55:18 +00:00