summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-05-03 13:52:38 +0200
committerMontel Laurent <[email protected]>2017-05-03 13:52:38 +0200
commitff4f27054269fcde577ec8f1df2be52c0ac14a36 (patch)
tree43aadc22adf02842800dbccca40304bc887dbe94
parent85ac639ea4b6776da952076699f42b3d8f306593 (diff)
Don't use deprecated method
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 26afbbd..cff7b4e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -79,6 +79,7 @@ add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
add_definitions( -DQT_NO_CAST_FROM_ASCII )
add_definitions( -DQT_NO_CAST_TO_ASCII )
add_definitions( -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT )
+add_definitions( -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 )
add_subdirectory(composereditorwebengine)