summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuboš Doležel <lubos@dolezel.info>2020-08-23 19:04:08 +0200
committerGitHub <noreply@github.com>2020-08-23 19:04:08 +0200
commitb7965d023cb68bce6d9495eb6afbc73206c1afef (patch)
tree38409f3d62fe208459301f0dbf3b359f452db1cc
parent0944e02eb0eca17c58cc9775fff37d41165d16fb (diff)
parent1ad8560c9b97af9e4d80d21d6e45c3c4cd4dc2fb (diff)
downloadtwinkle-b7965d023cb68bce6d9495eb6afbc73206c1afef.tar
twinkle-b7965d023cb68bce6d9495eb6afbc73206c1afef.tar.gz
twinkle-b7965d023cb68bce6d9495eb6afbc73206c1afef.tar.lz
twinkle-b7965d023cb68bce6d9495eb6afbc73206c1afef.tar.xz
twinkle-b7965d023cb68bce6d9495eb6afbc73206c1afef.zip
Merge pull request #216 from fbriere/misc/qt-deprecation-warnings
Suppress deprecation warnings from Qt
-rw-r--r--src/gui/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt
index 85d50ee..aeff39b 100644
--- a/src/gui/CMakeLists.txt
+++ b/src/gui/CMakeLists.txt
@@ -1,5 +1,9 @@
project(twinkle-gui)
+# Suppress deprecation warnings from Qt, as they often would require breaking
+# backwards compatibility.
+add_definitions(-DQT_NO_DEPRECATED_WARNINGS)
+
include_directories(${CMAKE_CURRENT_BINARY_DIR})
include_directories(${CMAKE_CURRENT_SOURCE_DIR})