mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-28 19:21:04 +00:00
Workaround for https://bugreports.qt-project.org/browse/QTBUG-22154
(Qt redefines min OS X version and SDL in turn checks this version and doesn't accept version set by Qt)
This commit is contained in:
parent
2391c591b3
commit
f9cfe654f2
@ -3,6 +3,11 @@
|
|||||||
#include <QDesktopWidget>
|
#include <QDesktopWidget>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
// We need to do this because of Qt: https://bugreports.qt-project.org/browse/QTBUG-22154
|
||||||
|
#define MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
|
||||||
|
#endif
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
@ -3,6 +3,10 @@
|
|||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
// We need to do this because of Qt: https://bugreports.qt-project.org/browse/QTBUG-22154
|
||||||
|
#define MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
|
||||||
|
#endif
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
|
|
||||||
#include "maindialog.hpp"
|
#include "maindialog.hpp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user