From 5a0aa423405598115bc2c50963a7caa2d70c38f0 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Tue, 16 Apr 2019 07:06:42 +0200 Subject: [PATCH] GIT_SILENT: Bug in qt was fixed, so exclude only 5.13.0 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)