Commit 9dcb4159 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compile against qt6

parent ad031f67
Pipeline #183042 passed with stage
in 3 minutes and 59 seconds
......@@ -12,7 +12,11 @@
#include <CalendarSupport/FreeBusyItemModel>
#include <KCalendarCore/Attendee>
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <KGantt/KGanttGraphicsView>
#else
#include <KGanttGraphicsView>
#endif
#include <QAbstractItemModelTester>
#include <QStandardPaths>
......
......@@ -9,7 +9,11 @@
#include <CalendarSupport/FreeBusyItemModel>
#include <KCalendarCore/FreeBusyPeriod>
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <KGantt/KGanttGraphicsView>
#else
#include <KGanttGraphicsView>
#endif
#include <KLocalizedString>
......
......@@ -9,10 +9,17 @@
#include "freebusyganttproxymodel.h"
#include <CalendarSupport/FreeBusyItemModel>
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <KGantt/KGanttAbstractRowController>
#include <KGantt/KGanttDateTimeGrid>
#include <KGantt/KGanttGraphicsView>
#include <KGantt/KGanttView>
#else
#include <KGanttAbstractRowController>
#include <KGanttDateTimeGrid>
#include <KGanttGraphicsView>
#include <KGanttView>
#endif
#include "incidenceeditor_debug.h"
#include <KLocalizedString>
......
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