1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/editors/calligraplan/files/patch-git_a7ebecb
Jason E. Hale e3aff24a07 Fix build with Qt 5.11
PR:		230884
Obtained from:	upstream
2018-09-04 13:12:27 +00:00

99 lines
2.4 KiB
Plaintext

From a7ebecb9fbee2190e649c44ed53f1299013baa30 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
Date: Sun, 18 Mar 2018 11:56:57 +0100
Subject: [PATCH] Fix build with Qt 5.11 (missing headers)
Reviewers: #calligra:_3.0, anthonyfieroni, danders
Reviewed By: #calligra:_3.0, anthonyfieroni, danders
Subscribers: anthonyfieroni, danders
Tags: #calligra:_3.0
Differential Revision: https://phabricator.kde.org/D11454
--- src/kptview.h.orig 2018-01-26 09:24:44 UTC
+++ src/kptview.h
@@ -28,6 +28,7 @@
#include "kptcontext.h"
#include "kptviewbase.h"
+#include <QActionGroup>
#include <QDockWidget>
#include <QMap>
--- src/kptviewlist.cpp.orig 2018-01-26 09:24:44 UTC
+++ src/kptviewlist.cpp
@@ -25,6 +25,7 @@
#include <QStyle>
#include <QBrush>
#include <QContextMenuEvent>
+#include <QHeaderView>
#include <QMenu>
#include <kmessagebox.h>
--- src/libs/ui/kptaccountseditor.cpp.orig 2018-01-26 09:24:44 UTC
+++ src/libs/ui/kptaccountseditor.cpp
@@ -40,6 +40,7 @@
#include <QContextMenuEvent>
#include <QMenu>
#include <QAction>
+#include <QHeaderView>
#include <KLocalizedString>
#include <kactioncollection.h>
--- src/libs/ui/kptdocumentspanel.h.orig 2018-01-26 09:24:44 UTC
+++ src/libs/ui/kptdocumentspanel.h
@@ -26,6 +26,7 @@
#include "kptdocuments.h"
+#include <QModelIndexList>
#include <QWidget>
#include <kundo2qstack.h>
--- src/libs/ui/kptitemviewsettup.cpp.orig 2018-01-26 09:24:44 UTC
+++ src/libs/ui/kptitemviewsettup.cpp
@@ -25,8 +25,8 @@
#include "KoPageLayoutWidget.h"
+#include <QHeaderView>
#include <QPushButton>
-
namespace KPlato
{
--- src/libs/ui/kpttaskeditor.cpp.orig 2018-01-26 09:24:44 UTC
+++ src/libs/ui/kpttaskeditor.cpp
@@ -45,6 +45,7 @@
#include <QVBoxLayout>
#include <QDragMoveEvent>
#include <QAction>
+#include <QHeaderView>
#include <QMenu>
#include <kactionmenu.h>
--- src/libs/ui/reportsgenerator/ReportsGeneratorView.cpp.orig 2018-01-26 09:24:44 UTC
+++ src/libs/ui/reportsgenerator/ReportsGeneratorView.cpp
@@ -31,6 +31,7 @@
#include <KFile>
#include <QAction>
+#include <QHeaderView>
#include <QTreeView>
#include <QStandardItemModel>
#include <QModelIndex>
--- src/libs/widgets/KoPageLayoutWidget.cpp.orig 2018-01-26 09:24:44 UTC
+++ src/libs/widgets/KoPageLayoutWidget.cpp
@@ -23,6 +23,8 @@
#include <KoUnit.h>
+#include <QButtonGroup>
+
class Q_DECL_HIDDEN KoPageLayoutWidget::Private
{
public: