You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-office/skrooge/files/skrooge-2.12.0-qt-5.11.patch

41 lines
1.3 KiB

From 38e61d2cd8a4a4b863801f8a5097b8b51b0c8e93 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Tue, 17 Apr 2018 23:49:52 +0200
Subject: [PATCH] Fix build with Qt 5.11 (missing QHeaderView)
Reviewers: #skrooge
Differential Revision: https://phabricator.kde.org/D12297
---
plugins/skrooge/skrooge_operation/skgsplittabledelegate.cpp | 1 +
skgbasegui/skggraphicsview.cpp | 1 +
2 files changed, 2 insertions(+)
diff --git a/plugins/skrooge/skrooge_operation/skgsplittabledelegate.cpp b/plugins/skrooge/skrooge_operation/skgsplittabledelegate.cpp
index aa171913c..930c4ea3e 100644
--- a/plugins/skrooge/skrooge_operation/skgsplittabledelegate.cpp
+++ b/plugins/skrooge/skrooge_operation/skgsplittabledelegate.cpp
@@ -24,6 +24,7 @@
#include <ksqueezedtextlabel.h>
#include <kformat.h>
+#include <QHeaderView>
#include <qpainter.h>
#include "skgbasegui_settings.h"
diff --git a/skgbasegui/skggraphicsview.cpp b/skgbasegui/skggraphicsview.cpp
index 4c4557880..7143ade3b 100644
--- a/skgbasegui/skggraphicsview.cpp
+++ b/skgbasegui/skggraphicsview.cpp
@@ -21,6 +21,7 @@
*/
#include "skggraphicsview.h"
+#include <QHeaderView>
#include <qmenu.h>
#include <qdesktopservices.h>
#include <qprinter.h>
--
2.17.0