forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mgba-0.6.3-qt511.patch
34 lines (30 loc) · 975 Bytes
/
mgba-0.6.3-qt511.patch
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 a2b8c4ae807ae92103e14961fd34377b28cbe219 Mon Sep 17 00:00:00 2001
From: Vicki Pfau <[email protected]>
Date: Fri, 25 May 2018 18:04:16 -0700
Subject: [PATCH] Qt: Fix build with Qt 5.11
---
src/platform/qt/LoadSaveState.cpp | 1 +
src/platform/qt/Window.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/platform/qt/LoadSaveState.cpp b/src/platform/qt/LoadSaveState.cpp
index a381c3d22..41ddb842e 100644
--- a/src/platform/qt/LoadSaveState.cpp
+++ b/src/platform/qt/LoadSaveState.cpp
@@ -10,6 +10,7 @@
#include "GamepadButtonEvent.h"
#include "VFileDevice.h"
+#include <QAction>
#include <QDateTime>
#include <QKeyEvent>
#include <QPainter>
diff --git a/src/platform/qt/Window.h b/src/platform/qt/Window.h
index c009c7ffa..8ee63907d 100644
--- a/src/platform/qt/Window.h
+++ b/src/platform/qt/Window.h
@@ -6,6 +6,7 @@
#ifndef QGBA_WINDOW
#define QGBA_WINDOW
+#include <QAction>
#include <QDateTime>
#include <QList>
#include <QMainWindow>