From cc64bb25aed5a5bf88b3e0f15c3850c4b6e2c481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 3 Mar 2016 08:00:55 +0100 Subject: [PATCH] Fix build of stable branch on build.kde.org CI system doesn't have Qt 5.5 yet, let's not break because of qCInfo. --- libinput/context.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libinput/context.cpp b/libinput/context.cpp index a5fd7ccb84..e7883df1ee 100644 --- a/libinput/context.cpp +++ b/libinput/context.cpp @@ -44,7 +44,9 @@ static void libinputLogHandler(libinput *libinput, libinput_log_priority priorit qCDebug(KWIN_LIBINPUT) << "Libinput:" << buf; break; case LIBINPUT_LOG_PRIORITY_INFO: +#if (QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)) qCInfo(KWIN_LIBINPUT) << "Libinput:" << buf; +#endif break; case LIBINPUT_LOG_PRIORITY_ERROR: default: