Unbreak build with upcoming Qt5 update

- Add missing includes
This commit is contained in:
rsadowski 2020-02-26 06:14:43 +00:00
parent 96e2fe3cb2
commit 519acccc2a
4 changed files with 41 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.9 2020/01/25 22:57:56 bcallah Exp $
# $OpenBSD: Makefile,v 1.10 2020/02/26 06:14:43 rsadowski Exp $
COMMENT = free chess database and analyzer
DISTNAME = chessx-1.4.6
CATEGORIES = games
HOMEPAGE = http://chessx.sourceforge.net/
REVISION = 4
REVISION = 5
# GPLv2+
PERMIT_PACKAGE = Yes

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_dialogs_preferences_cpp,v 1.1 2020/02/26 06:14:43 rsadowski Exp $
Index: src/dialogs/preferences.cpp
--- src/dialogs/preferences.cpp.orig
+++ src/dialogs/preferences.cpp
@@ -21,6 +21,7 @@
#include "engineoptiondialog.h"
#include "downloadmanager.h"
+#include <QAction>
#include <QCheckBox>
#include <QColorDialog>
#include <QComboBox>

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_dialogs_savedialog_cpp,v 1.1 2020/02/26 06:14:43 rsadowski Exp $
Index: src/dialogs/savedialog.cpp
--- src/dialogs/savedialog.cpp.orig
+++ src/dialogs/savedialog.cpp
@@ -22,6 +22,7 @@
#include "settings.h"
#include "tags.h"
+#include <QButtonGroup>
#include <QLineEdit>
#include <QCompleter>

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_gui_gamewindow_cpp,v 1.1 2020/02/26 06:14:43 rsadowski Exp $
Index: src/gui/gamewindow.cpp
--- src/gui/gamewindow.cpp.orig
+++ src/gui/gamewindow.cpp
@@ -8,6 +8,7 @@
#include "nag.h"
#include "settings.h"
+#include <QAction>
#include <QToolButton>
#if defined(_MSC_VER) && defined(_DEBUG)