GIT_SILENT: Bug in qt was fixed, so exclude only 5.13.0

wilder
Laurent Montel 7 years ago
parent b9559c1434
commit 5a0aa42340
  1. 2
      CMakeLists.txt

@ -85,7 +85,7 @@ remove_definitions( -DQT_NO_CAST_FROM_ASCII )
option(KDEPIM_RUN_AKONADI_TEST "Enable autotest based on Akonadi." TRUE) 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) # 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") MESSAGE(STATUS "Qt version: ${Qt5Widgets_VERSION} DISABLE compile without deprecated methods. bug QTBUG-74665")
else() else()
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)

Loading…
Cancel
Save