slackbuilds_ponce/office/goldendict/patches/goldendict-qt-5.11-1.patch
Matteo Bernardini c597630c46 office/goldendict: Patch for the newer qt5 and ffmpeg.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2021-04-17 23:25:26 -05:00

34 lines
954 B
Diff

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>