aboutsummaryrefslogtreecommitdiff
path: root/office/goldendict/patches/goldendict-qt-5.11-1.patch
blob: feb1b26e0bf8fc93a93781adb7bf8dce128ed377 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From 3d4a468b6c8cb154c88cf4592a5845973999dc29 Mon Sep 17 00:00:00 2001
From: Abs62 <ottomann@yandex.ru>
Date: Tue, 10 Apr 2018 18:44:43 +0300
Subject: [PATCH] Qt5: Fix compilation with Qt 5.11 (issue #991)

---
 fulltextsearch.hh | 1 +
 initializing.cc   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/fulltextsearch.hh b/fulltextsearch.hh
index da7e2943..adf9619f 100644
--- a/fulltextsearch.hh
+++ b/fulltextsearch.hh
@@ -6,6 +6,7 @@
 #include <QRegExp>
 #include <QAbstractListModel>
 #include <QList>
+#include <QAction>
 
 #include "dictionary.hh"
 #include "ui_fulltextsearch.h"
diff --git a/initializing.cc b/initializing.cc
index 0db6909b..59e605d6 100644
--- a/initializing.cc
+++ b/initializing.cc
@@ -1,6 +1,7 @@
 /* This file is (c) 2008-2012 Konstantin Isakov <ikm@goldendict.org>
  * Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */
 
+#include <QIcon>
 #include "initializing.hh"
 #include <QCloseEvent>