Skip to content

Commit

Permalink
Ensure more modern Qt
Browse files Browse the repository at this point in the history
  • Loading branch information
kossebau committed Mar 9, 2019
1 parent 21945cd commit 0c1a1d7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,16 @@ find_package(KF5 ${KF_MIN_VERSION} REQUIRED
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
add_definitions(-DQT_STRICT_ITERATORS)
endif()
add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
add_definitions(
-DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_BEFORE=0x050600
-DQT_USE_QSTRINGBUILDER
-DQT_NO_CAST_TO_ASCII
# -DQT_NO_CAST_FROM_ASCII
# -DQT_NO_CAST_FROM_BYTEARRAY
-DQT_NO_URL_CAST_FROM_STRING
-DQT_NO_SIGNALS_SLOTS_KEYWORDS
)

set( KCACHEGRIND_VERSION "0.8.0kde")

Expand Down

0 comments on commit 0c1a1d7

Please sign in to comment.