1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

Fix build with Qt 5.11

PR:		230884
Obtained from:	upstream
This commit is contained in:
Jason E. Hale 2018-09-04 13:12:27 +00:00
parent 5ead7a128d
commit e3aff24a07
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478955

View File

@ -0,0 +1,98 @@
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: