[vlmc-devel] VlmcLogger: Don't require Qt 5.5

Hugo Beauzée-Luyssen git at videolan.org
Sun Mar 6 14:05:05 CET 2016


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sun Mar  6 14:04:51 2016 +0100| [8f7088049c941c7c6653df1430f92093ef8ab335] | committer: Hugo Beauzée-Luyssen

VlmcLogger: Don't require Qt 5.5

> https://code.videolan.org/videolan/vlmc/commit/8f7088049c941c7c6653df1430f92093ef8ab335
---

 src/Tools/VlmcLogger.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/Tools/VlmcLogger.cpp b/src/Tools/VlmcLogger.cpp
index 403f870..360dab1 100644
--- a/src/Tools/VlmcLogger.cpp
+++ b/src/Tools/VlmcLogger.cpp
@@ -160,7 +160,9 @@ VlmcLogger::outputToConsole( int level, const char *msg )
     switch ( (QtMsgType)level )
     {
     case QtDebugMsg:
+#if QT_VERSION >= QT_VERSION_CHECK(5,5,0)
     case QtInfoMsg:
+#endif
         fprintf(stdout, "%s\n", msg);
         break;
     case QtWarningMsg:



More information about the Vlmc-devel mailing list