From 419a5886a77ac7b2b6a18fae3de7b27ab6f122ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Skowro=C5=84ski?= Date: Mon, 26 Dec 2016 21:08:08 +0100 Subject: [PATCH] Fix building with Qt < 5.5. --- src/Gui/Application.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Gui/Application.cpp b/src/Gui/Application.cpp index 3b69c9cf6..5df5b8cd5 100644 --- a/src/Gui/Application.cpp +++ b/src/Gui/Application.cpp @@ -1392,7 +1392,9 @@ void messageHandler(QtMsgType type, const QMessageLogContext &context, const QSt #ifdef FC_DEBUG switch (type) { +#if QT_VERSION >= 0x050500 case QtInfoMsg: +#endif case QtDebugMsg: Base::Console().Message("%s\n", msg); break;