Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit c534e597 authored by Milian Wolff's avatar Milian Wolff Committed by Laurent Montel

Fix compile, Qt5Widgets_VERSION isn't defined, use Qt5Core_VERSION instead

(cherry picked from commit 66692766)
parent 2aac1a64
......@@ -95,8 +95,8 @@ endif()
add_definitions(-DTRANSLATION_DOMAIN=\"kitinerary\")
# workaround for https://bugreports.qt.io/browse/QTBUG-74665 (bug in qt5.13 reevaluate it)
if (${Qt5Widgets_VERSION} STRGREATER "5.13")
MESSAGE(STATUS "Qt version: ${Qt5Widgets_VERSION} DISABLE compile without deprecated methods. bug QTBUG-74665")
if (${Qt5Core_VERSION} STRGREATER "5.13")
MESSAGE(STATUS "Qt version: ${Qt5Core_VERSION} DISABLE compile without deprecated methods. bug QTBUG-74665")
else()
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment