Commit d0c458dd authored by Laurent Montel's avatar Laurent Montel
Browse files

Make compile against qt6.4

parent e2f43039
Pipeline #241546 passed with stage
in 7 minutes and 9 seconds
......@@ -55,6 +55,10 @@ option(KDEPIM_ENTERPRISE_BUILD "Enable features specific to the enterprise branc
find_package(Sasl2)
set_package_properties(Sasl2 PROPERTIES TYPE REQUIRED)
if (QT_MAJOR_VERSION STREQUAL "6")
set(QT_REQUIRED_VERSION "6.4.0")
endif()
find_package(Qt${QT_MAJOR_VERSION} ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets PrintSupport WebEngineWidgets)
find_package(KF5I18n ${KF5_MIN_VERSION} CONFIG REQUIRED)
find_package(KF5KIO ${KF5_MIN_VERSION} CONFIG REQUIRED)
......
......@@ -13,6 +13,7 @@
#include "libksieve_debug.h"
#include "searchserverwithvacationsupportjob.h"
#include <QVariant>
using namespace KSieveUi;
MultiImapVacationManager::MultiImapVacationManager(SieveImapPasswordProvider *passwordProvider, QObject *parent)
......@@ -28,7 +29,7 @@ void MultiImapVacationManager::checkVacation(const QString &serverName, const QU
++mNumberOfJobs;
if (!mKep14Support.contains(serverName)) {
auto checkKep14Job = new CheckKolabKep14SupportJob(this);
checkKep14Job->setProperty("triggerScript", true);
checkKep14Job->setProperty("triggerScript", QVariant(true));
checkKep14Job->setServerName(serverName);
checkKep14Job->setServerUrl(url);
connect(checkKep14Job, &CheckKolabKep14SupportJob::result, this, &MultiImapVacationManager::slotCheckKep14Ended);
......
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