diff --git a/CMakeLists.txt b/CMakeLists.txt index d6dd877..510a36e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,7 +85,7 @@ remove_definitions( -DQT_NO_CAST_FROM_ASCII ) option(KDEPIM_RUN_AKONADI_TEST "Enable autotest based on Akonadi." TRUE) # workaround for https://bugreports.qt.io/browse/QTBUG-74665 (bug in qt5.13 reevaluate it) -if (${Qt5Widgets_VERSION} STRGREATER "5.13") +if (${Qt5Widgets_VERSION} STREQUAL "5.13.0") MESSAGE(STATUS "Qt version: ${Qt5Widgets_VERSION} DISABLE compile without deprecated methods. bug QTBUG-74665") else() add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)