summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/text/qcollator/qcollator.pro
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2019-10-04 11:29:34 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2019-10-25 11:41:30 +0200
commit946c7018838a1d6c62b0a1b1baf3ad6a960d2e00 (patch)
tree1c4b2971b66aed84bbf14cc4fa8f9dcc0cf69581 /tests/auto/corelib/text/qcollator/qcollator.pro
parent6acab25f97820023b9998359e6ca79cf11a4ab5c (diff)
Move a test for feature ICU from .pro to .cpp
Test QT_CONFIG(icu) in the code instead of testing qtConfig(icu) in the profile and setting an extra define just to shadow what's already defined. Also remove the matching define from qcollator.pro, whose test code didn't use it. Noticed while reviewing the conversions to CMake. Change-Id: I19d3b1026b2a8f50ec424c450614e721500fd38a Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'tests/auto/corelib/text/qcollator/qcollator.pro')
-rw-r--r--tests/auto/corelib/text/qcollator/qcollator.pro1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/corelib/text/qcollator/qcollator.pro b/tests/auto/corelib/text/qcollator/qcollator.pro
index 2f3995a75f..b7aa256ded 100644
--- a/tests/auto/corelib/text/qcollator/qcollator.pro
+++ b/tests/auto/corelib/text/qcollator/qcollator.pro
@@ -3,4 +3,3 @@ TARGET = tst_qcollator
QT = core-private testlib
SOURCES = tst_qcollator.cpp
DEFINES += QT_NO_CAST_TO_ASCII
-qtConfig(icu): DEFINES += QT_USE_ICU