1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

Fix build with Qt 5.11

PR:		230884
Obtained from:	upstream
This commit is contained in:
Jason E. Hale 2018-09-07 13:33:32 +00:00
parent 62c7a1a5c7
commit bc6a0222c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479192
2 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1,52 @@
From 16691987fdf035f7cafd6c65f7287639ac4cc27f Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
Date: Sun, 18 Mar 2018 19:13:26 +0100
Subject: [PATCH] Fix build with Qt 5.11 (missing headers)
Reviewers: stikonas
Reviewed By: stikonas
Differential Revision: https://phabricator.kde.org/D11456
---
ktorrent/dialogs/fileselectdlg.cpp | 1 +
ktorrent/groups/groupview.cpp | 1 +
plugins/search/searchprefpage.cpp | 1 +
3 files changed, 3 insertions(+)
diff --git a/ktorrent/dialogs/fileselectdlg.cpp b/ktorrent/dialogs/fileselectdlg.cpp
index 139b4752..ec7d8ede 100644
--- ktorrent/dialogs/fileselectdlg.cpp
+++ ktorrent/dialogs/fileselectdlg.cpp
@@ -20,6 +20,7 @@
#include "fileselectdlg.h"
+#include <QButtonGroup>
#include <QMenu>
#include <QPushButton>
#include <QTextCodec>
diff --git a/ktorrent/groups/groupview.cpp b/ktorrent/groups/groupview.cpp
index 990ed0d3..76208144 100644
--- ktorrent/groups/groupview.cpp
+++ ktorrent/groups/groupview.cpp
@@ -23,6 +23,7 @@
#include <QAction>
#include <QDragEnterEvent>
#include <QDropEvent>
+#include <QHeaderView>
#include <QInputDialog>
#include <QMenu>
#include <QTreeWidgetItemIterator>
diff --git a/plugins/search/searchprefpage.cpp b/plugins/search/searchprefpage.cpp
index 667e7a82..4be6cd5c 100644
--- plugins/search/searchprefpage.cpp
+++ plugins/search/searchprefpage.cpp
@@ -21,6 +21,7 @@
#include "searchprefpage.h"
+#include <QButtonGroup>
#include <QCheckBox>
#include <QFile>
#include <QInputDialog>

View File

@ -0,0 +1,21 @@
From c66233cd9f5b87f9e265beae0a16839d3a5645a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Vr=C3=A1til?= <dvratil@kde.org>
Date: Fri, 4 May 2018 00:33:44 +0200
Subject: [PATCH] Fix build against Qt 5.11 (missing includes)
---
plugins/syndication/syndicationactivity.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/plugins/syndication/syndicationactivity.cpp b/plugins/syndication/syndicationactivity.cpp
index 61e80396..5736d526 100644
--- plugins/syndication/syndicationactivity.cpp
+++ plugins/syndication/syndicationactivity.cpp
@@ -21,6 +21,7 @@
#include <QHBoxLayout>
#include <QInputDialog>
#include <QToolButton>
+#include <QAction>
#include <KMainWindow>
#include <KMessageBox>