qt6-bb10/tests/auto/cmake
Joerg Bornemann b684984939 CMake: Fix find_package(Qt6*Tools) in non-qtbase tests
Tests in non-qtbase modules could not find_package their own Qt6*Tools
packages, because add_subdirectory(tests) was called before the config
files for Qt6*Tools were created.

The creation of tools config files is done in QtPostProcess.cmake, which
was included in qt_build_repo_end(). Move that include into its own
macro, qt_build_repo_post_process() and remove it from
qt_build_repo_end(). Call qt_build_repo_post_process() before the
'tests' directory is added in qt_build_repo().

Every call site of qt_build_repo_end() must now be adjusted and call
qt_build_repo_post_process().

Task-number: QTBUG-88264
Change-Id: I80d60a1b5c0e9b715c298ef4934b562f815432d1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2023-08-23 16:21:58 +02:00
..
mockplugins CMake: Fix find_package(Qt6*Tools) in non-qtbase tests 2023-08-23 16:21:58 +02:00
test(needsquoting)dirname
test_QFINDTESTDATA
test_QTBUG-63422
test_QT_TESTCASE_BUILDDIR
test_add_big_resource
test_add_binary_resources_delayed_file
test_add_resource_options
test_add_resource_prefix Make the `PREFIX` Parameter of the `qt_add_resources` Optional 2022-10-25 16:39:25 +02:00
test_add_resources_big_resources
test_add_resources_binary_generated
test_add_resources_delayed_file
test_android_multi_abi_forward_vars Add forwarding of CMake variables to ABI-specific external projects 2022-12-08 23:24:22 +01:00
test_build_simple_widget_app
test_concurrent_module
test_dbus_module
test_dependent_modules
test_egl_lib
test_generating_cpp_exports CMake: Fix find_package(Qt6*Tools) in non-qtbase tests 2023-08-23 16:21:58 +02:00
test_global_promotion
test_import_plugins
test_interface
test_interface_link_libraries
test_json_plugin_includes
test_moc_macro_target _qt_internal_create_moc_command: Fix genex parse 2023-08-17 13:09:46 +02:00
test_multiple_find_package
test_opengl_lib
test_platform_defs_include
test_plugin_shared_static_flavor
test_plugins
test_private_includes
test_private_targets
test_qt_add_resources_rebuild CMake: Add auto test for qt_add_resources dependency rebuilding 2022-12-02 20:53:01 +01:00
test_qt_extract_metatypes
test_qtmainwin_library
test_resource_without_obj_lib CMake: Place resources into static libraries, not object libraries 2023-08-14 14:05:32 +02:00
test_static_resources CMake: Fix find_package(Qt6*Tools) in non-qtbase tests 2023-08-23 16:21:58 +02:00
test_testlib_definitions
test_testlib_no_link_gui
test_testlib_no_link_widgets
test_umbrella_config
test_versionless_targets
test_widgets_app_deployment Slow Deprecation of FILENAME_VARIABLE, replacement by OUTPUT_SCRIPT 2023-01-05 21:56:21 +01:00
test_wrap_cpp_and_resources
test_wrap_cpp_options
tst_qaddpreroutine Fix for CMake tests when build with unity 2023-03-14 17:28:43 +01:00
CMakeLists.txt CMake: Place resources into static libraries, not object libraries 2023-08-14 14:05:32 +02:00
test_plugin_shared_static_flavor.cmake