summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-12-14 15:52:23 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2022-12-14 17:26:13 +0100
commit884474c82792eb919a6f05bb8d195085df43493f (patch)
tree7980758083d56686cb98945f8454e5d339c81a88
parentad9dc3575e213ab368089c2ded879cf8372e00a3 (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. Pick-to: 6.5 Fixes: QTBUG-109423 Change-Id: I11b48954044f057cb66bfc74c34dde5e1ba5739d Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
-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