summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2023-05-31 19:24:48 +0200
committerAlexey Edelev <alexey.edelev@qt.io>2023-06-02 15:12:07 +0200
commitf323fa818c39c5b519845c69b66fb5b4f0ea071d (patch)
tree855173dac90ba084a950b4eb54b02a2bbf262eb1 /src
parent1d3ae5f0e98f252214d20ce8561533891311a71f (diff)
Add Gui_sync_headers as the explicit dependency for Test module
The Test module uses Gui header files implictily without explicit Gui linking. We need the dependency chain at least between the module_sync_headers targets to make sure that all header files required for successful module build are present "in time". Change-Id: I40fd81cceeb0e0e8271db4ba33fd914eb484d001 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/testlib/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testlib/CMakeLists.txt b/src/testlib/CMakeLists.txt
index 6cdb8f3376..8b0b06e646 100644
--- a/src/testlib/CMakeLists.txt
+++ b/src/testlib/CMakeLists.txt
@@ -73,6 +73,11 @@ qt_internal_add_module(Test
GENERATE_PRIVATE_CPP_EXPORTS
)
+if(TARGET Gui)
+ set_property(TARGET Test
+ APPEND PROPERTY _qt_internal_sync_headers_deps Gui_sync_headers)
+endif()
+
## Scopes:
#####################################################################