tests: Don't use QStringLiteral or any fancy Qt restrictions

It's very verbose and its preformance benefits aren't important
for the tests
This commit is contained in:
Sergio Martins
2019-08-03 11:55:27 +01:00
parent 369703a0bd
commit cb7d1086b9
3 changed files with 280 additions and 280 deletions

View File

@@ -31,19 +31,6 @@ if (OPTION_DEVELOPER_MODE)
endif()
endif()
add_definitions(-DQT_NO_CAST_TO_ASCII
-DQT_NO_CAST_FROM_ASCII
-DQT_NO_URL_CAST_FROM_STRING
-DQT_NO_CAST_FROM_BYTEARRAY
-DQT_NO_SIGNALS_SLOTS_KEYWORDS
-DQT_USE_QSTRINGBUILDER
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT
-DQT_STRICT_ITERATORS
-DQT_NO_KEYWORDS
-DQT_DISABLE_DEPRECATED_BEFORE=0x060000
-DQT_NO_FOREACH
)
add_subdirectory(src)
if (OPTION_DEVELOPER_MODE)

View File

@@ -1,6 +1,19 @@
cmake_policy(SET CMP0043 NEW)
add_definitions(-DQT_NO_CAST_TO_ASCII
-DQT_NO_CAST_FROM_ASCII
-DQT_NO_URL_CAST_FROM_STRING
-DQT_NO_CAST_FROM_BYTEARRAY
-DQT_NO_SIGNALS_SLOTS_KEYWORDS
-DQT_USE_QSTRINGBUILDER
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT
-DQT_STRICT_ITERATORS
-DQT_NO_KEYWORDS
-DQT_DISABLE_DEPRECATED_BEFORE=0x060000
-DQT_NO_FOREACH
)
set(DOCKSLIBS_SRCS
Config.cpp
Config.h

File diff suppressed because it is too large Load Diff