1
0
Fork 0

QtInfoMsg requires Qt 5.5

This commit is contained in:
James Turner 2017-02-01 17:36:48 +01:00
parent 40fbebb777
commit 0f3659818b

View file

@ -579,7 +579,9 @@ static void simgearMessageOutput(QtMsgType type, const QMessageLogContext &conte
sgDebugPriority mappedPriority = SG_WARN; sgDebugPriority mappedPriority = SG_WARN;
switch (type) { switch (type) {
case QtDebugMsg: mappedPriority = SG_DEBUG; break; case QtDebugMsg: mappedPriority = SG_DEBUG; break;
#if QT_VERSION >= 0x050500
case QtInfoMsg: mappedPriority = SG_INFO; break; case QtInfoMsg: mappedPriority = SG_INFO; break;
#endif
case QtWarningMsg: mappedPriority = SG_WARN; break; case QtWarningMsg: mappedPriority = SG_WARN; break;
case QtCriticalMsg: mappedPriority = SG_ALERT; break; case QtCriticalMsg: mappedPriority = SG_ALERT; break;
case QtFatalMsg: mappedPriority = SG_POPUP; break; case QtFatalMsg: mappedPriority = SG_POPUP; break;