aboutsummaryrefslogblamecommitdiffstats
path: root/testing/mgba/mgba-qt5.11.patch
blob: 338bb50c8fbaf1b103cf87ba4f1f906b0cd65387 (plain) (tree)


































                                                                                  
From 7f41dd354176b720c8e3310553c6b772278b9dca Mon Sep 17 00:00:00 2001
From: Vicki Pfau <vi@endrift.com>
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 538254ff6..d9db6a7d3 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 baca971ea..2d9d139cc 100644
--- a/src/platform/qt/Window.h
+++ b/src/platform/qt/Window.h
@@ -5,6 +5,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 #pragma once
 
+#include <QAction>
 #include <QDateTime>
 #include <QList>
 #include <QMainWindow>