Commit 24e55ccd authored by Laurent Montel's avatar Laurent Montel
Browse files

Fix qt6 support

parent 09e97143
Pipeline #225700 passed with stage
in 47 seconds
......@@ -15,13 +15,13 @@ set(DESKTOPFILE_INSTALL ${KDE_INSTALL_APPDIR})
if(ANDROID)
# Material requires QtSvg for icons
# if we don't link it here explicitly, androiddeployqt doesn't bring it
find_package(Qt5Svg REQUIRED)
find_package(Qt5QuickControls2 REQUIRED)
find_package(Qt${QT_MAJOR_VERSION}Svg REQUIRED)
find_package(Qt${QT_MAJOR_VERSION}QuickControls2 REQUIRED)
find_package(KF5Kirigami2 REQUIRED)
kirigami_package_breeze_icons(ICONS list-add)
target_link_libraries(kalgebramobile Qt::Svg KF5::Kirigami2 Qt::QuickControls2)
else()
find_package(Qt5Widgets REQUIRED)
find_package(Qt${QT_MAJOR_VERSION}Widgets REQUIRED)
target_link_libraries(kalgebramobile Qt::Widgets)
endif()
......
Supports Markdown
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