summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-12-14 15:52:23 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-12-14 19:49:24 +0000
commite9dd8332127c942386ec11f63b0d74a3f41c4b00 (patch)
tree09b8d1d91f50932da812cadacea716572c1870a0
parent746c185203b9192ad8b06f01e4c7f28844a184ed (diff)
CMake: Fix DesignerComponentsPrivate private headers to be synced
Add lib_pch.h to the list of headers so it is synced by syncqt cpp as a private header. This doesn't seem right, but it matches what we did in < Qt 6.4 as well as Qt 5.15. Without at least one synced private header, the build system code generates incorrect INTERFACE include directories entries which fail configuration of user projects when the target in question is linked. Fixes: QTBUG-109423 Change-Id: I11b48954044f057cb66bfc74c34dde5e1ba5739d Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 884474c82792eb919a6f05bb8d195085df43493f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/designer/src/components/lib/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/designer/src/components/lib/CMakeLists.txt b/src/designer/src/components/lib/CMakeLists.txt
index e966deeb8..e97d8f442 100644
--- a/src/designer/src/components/lib/CMakeLists.txt
+++ b/src/designer/src/components/lib/CMakeLists.txt
@@ -10,6 +10,7 @@
qt_internal_add_module(DesignerComponentsPrivate
INTERNAL_MODULE
SOURCES
+ lib_pch.h
../buddyeditor/buddyeditor.cpp ../buddyeditor/buddyeditor.h
../buddyeditor/buddyeditor_global.h
../buddyeditor/buddyeditor_plugin.cpp ../buddyeditor/buddyeditor_plugin.h