CMake: explicitly suppress old API

This commit is contained in:
Adriaan de Groot 2021-03-28 18:46:39 +02:00
parent 5a82c8123b
commit adc3af0345

View File

@ -280,6 +280,8 @@ if( CMAKE_COMPILER_IS_GNUCXX )
endif() endif()
endif() endif()
# API that was deprecated before Qt 5.15 causes a compile error
add_compile_definitions( QT_DISABLE_DEPRECATED_BEFORE=0x050f00 )
### DEPENDENCIES ### DEPENDENCIES
# #