diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d31721..9d79367 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,6 +46,8 @@ set_package_properties(OpenEXR PROPERTIES PURPOSE "Required for the QImage plugin for OpenEXR images" ) add_definitions(-DQT_NO_FOREACH) +add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) +add_definitions(-DQT_DEPRECATED_WARNINGS_SINCE=0x060000) add_subdirectory(src) if (BUILD_TESTING) add_subdirectory(autotests)