qt6-bb10/src
Alexandru Croitor 4f7cc72298 CMake: Handle conditions in third party find modules correctly
Previously the FindWrap modules checked for hardcoded features
when deciding whether to use a bundled library or not. This proved
not to work correctly because features were not available when
the find modules were processed.

Introduce a new CMake API call that needs to be manually called
after an add_subdirectory call which declares a bundled library.

The call will check for the existence of the bundled target, and will
then set a cache variable QT_USE_BUNDLED_Bundled<TargetName>.

The same variable is written into a FindWrapFooConfigExtra.cmake file
which will be loaded by the appropriate FindWrap module. The module
can that use that variable to decided whether to link against the
bundled library or the system library.

Change-Id: I75e9a4f4e14d88d4490916a79ad12f1ce57891e0
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2020-03-05 16:08:14 +01:00
..
3rdparty CMake: Handle conditions in third party find modules correctly 2020-03-05 16:08:14 +01:00
android Finally remove splash.xml to fix a lint warning 2020-03-04 16:31:13 +01:00
angle Disable debug-and-release builds for MinGW 2019-09-18 06:28:16 +00:00
concurrent QtConcurrent: filter- and map-reduce with initial value 2020-03-04 17:40:45 +01:00
corelib CMake: fix typo 2020-03-05 13:25:06 +01:00
dbus Merge remote-tracking branch 'origin/5.15' into dev 2020-03-03 14:13:02 +01:00
gui Merge "Merge remote-tracking branch 'origin/5.15' into dev" 2020-03-04 19:10:37 +00:00
network Merge remote-tracking branch 'origin/5.15' into dev 2020-03-04 14:39:18 +00:00
opengl Move QOpenGLBuffer from QtGui to QtOpenGL 2020-02-22 02:08:26 +01:00
openglextensions Merge "Merge remote-tracking branch 'origin/dev' into wip/cmake" into wip/cmake 2019-11-25 14:49:13 +00:00
openglwidgets Docs: Remove lenghty comparison with QGLWidget 2020-02-20 16:11:01 +01:00
platformheaders Merge remote-tracking branch 'origin/dev' into merge-dev 2020-01-24 13:17:33 +01:00
platformsupport Merge remote-tracking branch 'origin/5.15' into dev 2020-03-03 14:13:02 +01:00
plugins Merge remote-tracking branch 'origin/5.15' into dev 2020-03-04 14:39:18 +00:00
printsupport Pass QDate and QTime as value classes 2020-02-27 10:48:25 +01:00
sql Merge remote-tracking branch 'origin/5.15' into dev 2020-02-28 09:48:30 +01:00
testlib Merge remote-tracking branch 'origin/5.15' into dev 2020-02-26 18:39:21 +01:00
tools Merge "Merge remote-tracking branch 'origin/5.15' into dev" 2020-03-04 19:10:37 +00:00
widgets Merge "Merge remote-tracking branch 'origin/5.15' into dev" 2020-03-04 19:10:37 +00:00
winmain Regenerate src/* 2019-11-14 09:05:48 +00:00
xml Merge remote-tracking branch 'origin/5.15' into dev 2020-02-26 18:39:21 +01:00
CMakeLists.txt CMake: Allow building bundled 3rd party libraries in qtbase 2020-02-25 15:43:16 +01:00
src.pro Move QOpenGLWidget from QtOpenGL to its own module 2020-02-18 09:22:51 +01:00