From fd3341a74ecbe93c5fb931f625075b93be69b9de Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Mon, 31 Jan 2022 18:53:57 +0100 Subject: 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 Reviewed-by: Qt CI Bot --- tests/auto/corelib/tools/qhash/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/auto/corelib/tools/qhash/CMakeLists.txt') diff --git a/tests/auto/corelib/tools/qhash/CMakeLists.txt b/tests/auto/corelib/tools/qhash/CMakeLists.txt index ba038c8f01..93535f2c66 100644 --- a/tests/auto/corelib/tools/qhash/CMakeLists.txt +++ b/tests/auto/corelib/tools/qhash/CMakeLists.txt @@ -9,5 +9,4 @@ qt_internal_add_test(tst_qhash tst_qhash.cpp ) -set_target_properties(tst_qhash PROPERTIES - QT_INTERNAL_UNDEF_QT_NO_JAVA_STYLE_ITERATORS TRUE) +qt_internal_undefine_global_definition(tst_qhash QT_NO_JAVA_STYLE_ITERATORS) -- cgit v1.2.3