mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 08:23:53 +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
2 changed files with 9 additions and 0 deletions
|
@ -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…
Reference in a new issue