Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Deprecation warnings for everyone!
Let's all join the fun and share workload
  • Loading branch information
nyalldawson committed Feb 8, 2020
1 parent 06d4dee commit 4a8259b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -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)

Expand Down

0 comments on commit 4a8259b

Please sign in to comment.