summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2019-04-03 14:37:28 +0200
committerMarco Bubke <marco.bubke@qt.io>2019-04-04 10:48:23 +0000
commitdce3e9708cb6432ec273fe4d5017691fe3becc78 (patch)
tree0a9a86b6a17aa7369eef4f3c39a007e0d7d94617 /tests
parent14bffd2c88eecfd9539468f7ffdd0baf03206887 (diff)
downloadqt-creator-dce3e9708cb6432ec273fe4d5017691fe3becc78.tar.gz
UnitTests: Allow cast from char* to QString
Otherwise it is not working for older compilers and Qt versions. We can revert it if we drop support for that old versions. Change-Id: I0f71e05235e9ff24cee28131654c9b6df9997643 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/unittest/unittest.pro2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/unit/unittest/unittest.pro b/tests/unit/unittest/unittest.pro
index 4fbba5b413..d6b9e08594 100644
--- a/tests/unit/unittest/unittest.pro
+++ b/tests/unit/unittest/unittest.pro
@@ -14,8 +14,6 @@ OBJECTS_DIR = $$OUT_PWD/obj # workaround for qmake bug in object_parallel_to_sou
!msvc:force_debug_info:QMAKE_CXXFLAGS += -fno-omit-frame-pointer
DEFINES += \
- QT_NO_CAST_TO_ASCII \
- QT_RESTRICTED_CAST_FROM_ASCII \
QT_USE_FAST_OPERATOR_PLUS \
QT_USE_FAST_CONCATENATION \
UNIT_TESTS \