QtWidgets: unbreak unity-build-batch-size 100000
Exclude TUs that cause problems in a build where all of QtWidgets'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: GCC 13, Ubuntu 20.04, -developer-build, C++23, -sctp. Task-number: QTBUG-115352 Pick-to: 6.6 6.5 Change-Id: I6a445701e2ac41d67a3ec69715b7bf6ed5ec65f7 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
a07426d23a
commit
b91891a76b
@ -662,6 +662,8 @@ qt_internal_extend_target(Widgets CONDITION QT_FEATURE_inputdialog
|
|||||||
qt_internal_extend_target(Widgets CONDITION QT_FEATURE_messagebox
|
qt_internal_extend_target(Widgets CONDITION QT_FEATURE_messagebox
|
||||||
SOURCES
|
SOURCES
|
||||||
dialogs/qmessagebox.cpp dialogs/qmessagebox.h
|
dialogs/qmessagebox.cpp dialogs/qmessagebox.h
|
||||||
|
NO_UNITY_BUILD_SOURCES
|
||||||
|
dialogs/qmessagebox.cpp # error: ‘Old_Ok’ [etc] was not declared in this scope
|
||||||
)
|
)
|
||||||
|
|
||||||
if(QT_FEATURE_messagebox)
|
if(QT_FEATURE_messagebox)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user