Allow disabling QT_USE_QSTRINGBUILDER definition for tool targets
Currently QT_USE_QSTRINGBUILDER is added for all Qt tool targets by default, and it's not possible to remove this definition. Replace this definition with the generator expression that is propagated by the PlatformToolInternal target. Change-Id: Iac3bd3ea76e7b439cf7957146b4b6dd20ecdbe3a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
d55c5e2a43
commit
d14f15f380
@ -160,7 +160,7 @@ qt_internal_add_global_definition(QT_NO_AS_CONST)
|
||||
qt_internal_add_global_definition(QT_NO_QEXCHANGE)
|
||||
qt_internal_add_global_definition(QT_NO_NARROWING_CONVERSIONS_IN_CONNECT)
|
||||
qt_internal_add_global_definition(QT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH)
|
||||
qt_internal_add_global_definition(QT_USE_QSTRINGBUILDER SCOPE PLUGIN)
|
||||
qt_internal_add_global_definition(QT_USE_QSTRINGBUILDER SCOPE PLUGIN TOOL)
|
||||
|
||||
if(WARNINGS_ARE_ERRORS)
|
||||
qt_internal_set_warnings_are_errors_flags(PlatformModuleInternal INTERFACE)
|
||||
|
@ -119,7 +119,6 @@ function(qt_internal_add_tool target_name)
|
||||
INCLUDE_DIRECTORIES
|
||||
${arg_INCLUDE_DIRECTORIES}
|
||||
DEFINES
|
||||
QT_USE_QSTRINGBUILDER
|
||||
${arg_DEFINES}
|
||||
${deprecation_define}
|
||||
${corelib}
|
||||
|
Loading…
Reference in New Issue
Block a user