Set QT_DEPRECATED_WARNINGS_SINCE also for CMake
This was added to the qmake build system in 220028d37c
Change-Id: Ieee8b4d47b8f9716c14c85cf3038f1074ee8c46a
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
99539a2894
commit
019dac8f9d
@ -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()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user