From dfe866441987d3c2c01e721b0749a373360801be Mon Sep 17 00:00:00 2001 From: Sacha Date: Tue, 3 Jun 2014 09:03:09 +1000 Subject: [PATCH] Buildfix Qt5 mobile platforms such as Android. --- base/QtMain.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base/QtMain.h b/base/QtMain.h index f630c7ace9..8361af7ea2 100644 --- a/base/QtMain.h +++ b/base/QtMain.h @@ -11,8 +11,10 @@ #include #if defined(MOBILE_DEVICE) && !defined(MAEMO) #include +#if QT_VERSION < 0x50000 QTM_USE_NAMESPACE #endif +#endif #include "base/display.h" #include "base/logging.h" @@ -23,7 +25,6 @@ QTM_USE_NAMESPACE #include "input/keycodes.h" #include "base/NativeApp.h" #include "net/resolve.h" -#include "display.h" #include "base/NKCodeFromQt.h" // Bad: PPSSPP includes from native