0392570385
We look for all Qt components when attempt configuring standalone tests. If some 3rdparty dependencies are missing in user environtment the configuring proccess will fail even if the dependency is not used by the standalone tests. Avoid requiring the Qt components, so users will see only warnings about the missing comonents or dependencies. Fixes: QTBUG-117709 Pick-to: 6.6 6.5 Change-Id: Iecce40449cdf116f1a7c279ebb161f0f5c7f6a9f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
6 lines
330 B
CMake
6 lines
330 B
CMake
# TODO: Ideally this should look for each Qt module separately, with each module's specific version,
|
|
# bypassing the Qt6 Config file, aka find_package(Qt6SpecificFoo) repated x times. But it's not
|
|
# critical.
|
|
find_package(@INSTALL_CMAKE_NAMESPACE@ @main_qt_package_version@
|
|
COMPONENTS @QT_REPO_KNOWN_MODULES_STRING@)
|