diff options
author | Kai Koehne <kai.koehne@qt.io> | 2019-06-05 11:26:39 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2019-06-05 13:03:29 +0000 |
commit | 019dac8f9d1ca314f40dccf413d8f0cdb88a915b (patch) | |
tree | 16f72cf65f35e4562ecb48d28be99c0e610dccb5 | |
parent | 99539a289491a2a709c2a63cd91eac155a1699da (diff) |
Set QT_DEPRECATED_WARNINGS_SINCE also for CMake
This was added to the qmake build system in 220028d37c3
Change-Id: Ieee8b4d47b8f9716c14c85cf3038f1074ee8c46a
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rw-r--r-- | cmake/QtBuild.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake index 664d176589..842333485c 100644 --- a/cmake/QtBuild.cmake +++ b/cmake/QtBuild.cmake @@ -851,6 +851,7 @@ function(qt_internal_library_deprecation_level result) # On other platforms, Qt's own compilation goes needs to compile the Qt 5.0 API set("${result}" "QT_DISABLE_DEPRECATED_BEFORE=0x050000" PARENT_SCOPE) endif() + set("${result}" "QT_DEPRECATED_WARNINGS_SINCE=0x060000" PARENT_SCOPE) endfunction() |