From 5665209caa7415793167fd41d93bbccda93be689 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Tue, 7 Feb 2017 11:16:05 +0100 Subject: [PATCH] Ensure that QT_VERSION is defined Otherwise checks such as "#if QT_VERSION >= 0x050600" will fail silently. --- src/LyX.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/LyX.cpp b/src/LyX.cpp index 17094dab31..0633bcbd54 100644 --- a/src/LyX.cpp +++ b/src/LyX.cpp @@ -74,6 +74,8 @@ #include #include +#include // For QT_VERSION + using namespace std; using namespace lyx::support; -- 2.39.2