Commit 5cb51e82 authored by Laurent Montel's avatar Laurent Montel
Browse files

Allow to build against qt6

parent 8c6b2c10
Pipeline #124200 passed with stage
in 39 seconds
......@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.16)
set(PROJECT_VERSION "5.24.80")
set(QT_MIN_VERSION "5.15.0")
set(KF5_MIN_VERSION "5.86")
set(KF5_MIN_VERSION "5.90")
set(KDE_COMPILERSETTINGS_LEVEL "5.82")
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
......@@ -16,7 +16,7 @@ include(KDEClangFormat)
include(FeatureSummary)
include(KDEGitCommitHooks)
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Gui Widgets Quick QuickWidgets)
find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Gui Widgets Quick QuickWidgets)
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
CoreAddons
......
......@@ -10,9 +10,9 @@
#include "config.h"
#include "sddmdata.h"
#include "sddmsettings.h"
#include "sessionmodel.h"
#include "themesmodel.h"
#include "usersmodel.h"
#include <QApplication>
......
......@@ -6,13 +6,12 @@
#ifndef SDDMKCM_H
#define SDDMKCM_H
#include "sddmsettings.h"
#include "themesmodel.h"
#include <KQuickAddons/ManagedConfigModule>
class ThemeConfig;
class AdvancedConfig;
class SddmData;
class SddmSettings;
class ThemesModel;
class SddmKcm : public KQuickAddons::ManagedConfigModule
{
......
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