Skip to content
Permalink
Browse files

Deprecation warnings for everyone!

Let's all join the fun and share workload
  • Loading branch information
nyalldawson committed Feb 6, 2020
1 parent 06d4dee commit 4a8259b7b8f889bdac264e870eab5a4a33aa5842
Showing with 1 addition and 0 deletions.
  1. +1 −0 CMakeLists.txt
@@ -605,6 +605,7 @@ IF(MSVC)
ENDIF(MSVC)

# Prevent build when Qt api deprecated before this Qt version is used:
ADD_DEFINITIONS(-DQT_DEPRECATED_WARNINGS)
# Unfortunately Qwt uses deprecated QString::null in headers, preventing this being raised above 5.8
ADD_DEFINITIONS(-DQT_DISABLE_DEPRECATED_BEFORE=0x050800)

0 comments on commit 4a8259b

Please sign in to comment.
You can’t perform that action at this time.