]> git.lyx.org Git - features.git/commitdiff
Ensure that QT_VERSION is defined
authorEnrico Forestieri <forenr@lyx.org>
Tue, 7 Feb 2017 10:16:05 +0000 (11:16 +0100)
committerEnrico Forestieri <forenr@lyx.org>
Tue, 7 Feb 2017 10:16:05 +0000 (11:16 +0100)
Otherwise checks such as "#if QT_VERSION >= 0x050600" will fail silently.

src/LyX.cpp

index 17094dab31dfa18907a0af29939a6146723979fd..0633bcbd54d1d4972f8c96b5e1122b1a2d89b0f9 100644 (file)
@@ -74,6 +74,8 @@
 #include <string>
 #include <vector>
 
+#include <qglobal.h> // For QT_VERSION
+
 using namespace std;
 using namespace lyx::support;