summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qmap
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2022-01-31 18:53:57 +0100
committerAlexey Edelev <alexey.edelev@qt.io>2022-02-02 16:45:37 +0100
commitfd3341a74ecbe93c5fb931f625075b93be69b9de (patch)
treedd0df47448e832b524c91b945bfcc890607a9730 /tests/auto/corelib/tools/qmap
parent1b34ee080e0b336233d2be8422c4476569251da6 (diff)
Add qt_internal_undefine_global_definition function
qt_internal_undefine_global_definition disables an internal global definition that is defined by the qt_internal_add_global_definition function for a specific target. Remove the ability to set the custom "undefine" flag for the definitions since it's hard to control it using the introduced function. Pick-to: 6.2 6.3 Task-number: QTBUG-100334 Change-Id: Ic1637d97aa51bbdd06c5b191c57a941aa208d4dc Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'tests/auto/corelib/tools/qmap')
-rw-r--r--tests/auto/corelib/tools/qmap/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/corelib/tools/qmap/CMakeLists.txt b/tests/auto/corelib/tools/qmap/CMakeLists.txt
index b5d36bf214..30c170e9fe 100644
--- a/tests/auto/corelib/tools/qmap/CMakeLists.txt
+++ b/tests/auto/corelib/tools/qmap/CMakeLists.txt
@@ -9,5 +9,4 @@ qt_internal_add_test(tst_qmap
tst_qmap.cpp
)
-set_target_properties(tst_qmap PROPERTIES
- QT_INTERNAL_UNDEF_QT_NO_JAVA_STYLE_ITERATORS TRUE)
+qt_internal_undefine_global_definition(tst_qmap QT_NO_JAVA_STYLE_ITERATORS)