mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
SystemInfo is never installed by default, so make it optional.
This commit is contained in:
parent
14141b5a9e
commit
f339bda6e2
@ -15,8 +15,10 @@
|
||||
|
||||
#if QT_VERSION > QT_VERSION_CHECK(5, 0, 0)
|
||||
#include <QStandardPaths>
|
||||
#ifdef QT_HAS_SYSTEMINFO
|
||||
#include <QScreenSaver>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __SYMBIAN32__
|
||||
#include <QSystemScreenSaver>
|
||||
@ -128,7 +130,7 @@ static int mainInternal(QApplication &a)
|
||||
QSystemScreenSaver ssObject(emugl);
|
||||
ssObject.setScreenSaverInhibit();
|
||||
QScopedPointer<SymbianMediaKeys> mediakeys(new SymbianMediaKeys());
|
||||
#elif QT_VERSION > QT_VERSION_CHECK(5, 0, 0)
|
||||
#elif defined(QT_HAS_SYSTEMINFO)
|
||||
QScreenSaver ssObject(emugl);
|
||||
ssObject.setScreenSaverEnabled(false);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user