Commit d806a57b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make compile against qt6

parent 102c8c1e
Pipeline #177058 passed with stage
in 3 minutes and 48 seconds
......@@ -10,7 +10,11 @@
#include <Akonadi/CalendarUtils>
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <KGantt/KGanttGlobal>
#else
#include <KGanttGlobal>
#endif
#include <KCalUtils/IncidenceFormatter>
......
......@@ -11,12 +11,21 @@
#include "timelineitem.h"
#include "timelineview_p.h"
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <KGantt/KGanttAbstractRowController>
#include <KGantt/KGanttDateTimeGrid>
#include <KGantt/KGanttGraphicsItem>
#include <KGantt/KGanttGraphicsView>
#include <KGantt/KGanttItemDelegate>
#include <KGantt/KGanttStyleOptionGanttItem>
#else
#include <KGanttAbstractRowController>
#include <KGanttDateTimeGrid>
#include <KGanttGraphicsItem>
#include <KGanttGraphicsView>
#include <KGanttItemDelegate>
#include <KGanttStyleOptionGanttItem>
#endif
#include <Akonadi/CalendarUtils>
#include <Akonadi/ETMCalendar>
......
......@@ -9,7 +9,12 @@
#include "timelineview_p.h"
#include "timelineitem.h"
// FIXME
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <KGantt/KGanttGraphicsView>
#else
#include <KGanttGraphicsView>
#endif
#include <Akonadi/CalendarUtils>
#include <Akonadi/ETMCalendar>
......
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