From e605f051ea533395f86a90a3beb203dc489b0d71 Mon Sep 17 00:00:00 2001 From: codestation Date: Sun, 10 Jan 2016 10:19:59 -0430 Subject: [PATCH] Do not expose QtInfoMsg on Qt < 5.5.0 --- cli/main_cli.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli/main_cli.cpp b/cli/main_cli.cpp index 58b20a4..0a6431f 100644 --- a/cli/main_cli.cpp +++ b/cli/main_cli.cpp @@ -57,9 +57,11 @@ static void noDebugOutput(QtMsgType type, const char *message) fprintf(stderr, "Fatal: %s\n", message); abort(); break; +#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0) case QtInfoMsg: fprintf(stderr, "Info: %s\n", message); break; +#endif } }