Commit 32567d4f authored by David Faure's avatar David Faure

Unbreak build with Qt 5.14

sidebar/SidebarMode.cpp:284:30: error: no matching function for call to ‘qmlRegisterType<QAction>()’
     qmlRegisterType<QAction>();

It's very unclear to me how this should be ported, given the possible
impact on existing QML files.

CCMAIL: montel@kde.org, subdiff@gmail.com
parent d1a49351
......@@ -52,7 +52,7 @@ find_package(KF5Kirigami2 2.1 CONFIG REQUIRED)
find_package(LibKWorkspace ${PROJECT_VERSION} CONFIG REQUIRED)
if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00)
endif()
add_subdirectory(core)
......
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