diff options
author | Marc Mutz <marc.mutz@qt.io> | 2023-07-21 22:55:48 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-07-24 07:59:14 +0000 |
commit | aa2b62e7f4b6d2840c7bfd98358de03cde304aad (patch) | |
tree | 73d0a7254bb9d369fd6d3e305b03996d0eb64d22 | |
parent | 7d1941b05631b782fc7c99906a6564ff095a2ad3 (diff) |
QtDesigner: unbreak unity-build-batch-size 100000
Exclude TUs that cause problems in a build where all of QtDesigner's
.cpp files end up in a single unity_0_cxx.cxx. This should ensure that
the build will forthwith not fail because someone added a new .cpp
file in the "wrong" position.
Of course, this is just a snapshot, with my configuration: Clang 15,
Ubuntu 20.04, -developer-build, C++23, -sctp, libc++ (which means I
can't link most of the tools, because of problems similar to
QTBUG-115032).
Task-number: QTBUG-115448
Change-Id: I2363194bc2c9e07d75d58be7386dba9fb0778a2e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit d0223dabe6922669519a0f7ed0704a13ce99951e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/designer/src/components/lib/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/designer/src/lib/CMakeLists.txt | 13 |
2 files changed, 15 insertions, 0 deletions
diff --git a/src/designer/src/components/lib/CMakeLists.txt b/src/designer/src/components/lib/CMakeLists.txt index 9af8e3b3d..6fe4d73da 100644 --- a/src/designer/src/components/lib/CMakeLists.txt +++ b/src/designer/src/components/lib/CMakeLists.txt @@ -94,6 +94,8 @@ qt_internal_add_module(DesignerComponentsPrivate ../widgetbox/widgetboxcategorylistview.cpp ../widgetbox/widgetboxcategorylistview.h ../widgetbox/widgetboxtreewidget.cpp ../widgetbox/widgetboxtreewidget.h qdesigner_components.cpp + NO_UNITY_BUILD_SOURCES + ../tabordereditor/tabordereditor.cpp # redefinition of 'QMetaTypeId<QList<QWidget *>>' (from qdesigner_resource.cpp) DEFINES QDESIGNER_COMPONENTS_LIBRARY QT_STATICPLUGIN diff --git a/src/designer/src/lib/CMakeLists.txt b/src/designer/src/lib/CMakeLists.txt index 7c6d6afb4..85cf5372f 100644 --- a/src/designer/src/lib/CMakeLists.txt +++ b/src/designer/src/lib/CMakeLists.txt @@ -149,6 +149,19 @@ qt_internal_add_module(Designer uilib/ui4.cpp uilib/ui4_p.h components/qdesigner_components.h components/qdesigner_components_global.h + NO_UNITY_BUILD_SOURCES + shared/previewconfigurationwidget.cpp # no type named 'PreviewConfigurationWidget' in namespace 'qdesigner_internal::Ui' + shared/qdesigner_command.cpp # redefinition of 'QMetaTypeId<QList<QWidget *>>' (from morphmenu.cpp) + # and recursiveUpdate (from formwindowbase.cpp) + shared/qlayout_widget.cpp # redefinition of 'FormLayoutColumns' (from layout.cpp) + shared/qtresourceeditordialog.cpp # redefinition of 'Geometry' (from plaintexteditor.cpp) + shared/richtexteditor.cpp # no type named 'AddLinkDialog' in namespace 'qdesigner_internal::Ui' + shared/selectsignaldialog.cpp # no type named 'SelectSignalDialog' in namespace 'qdesigner_internal::Ui' + shared/signalslotdialog.cpp # no type named 'SignalSlotDialogClass' in namespace 'qdesigner_internal::Ui' + shared/widgetdatabase.cpp # redefinition of 'debugWidgetDataBase' (from abstractwidgetdatabase.cpp) + uilib/abstractformbuilder.cpp # redefinition of 'QMetaTypeId<QList<QWidget *>>' (from morphmenu.cpp) + uilib/formbuilderextra.cpp # use of undeclared identifier 'dcw' + uilib/properties.cpp # 'setupColorGroup' [etc] is a protected member of 'QAbstractFormBuilder' DEFINES QDESIGNER_EXTENSION_LIBRARY QDESIGNER_SDK_LIBRARY |