mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-19 20:34:26 +01:00
SystemInfo is never installed by default, so make it optional.
This commit is contained in:
1 parent
14141b5a9e
commit
f339bda6e2
1 file changed
+3
-1
+3
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user