|
|
|
@ -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) |
|
|
|
|