Ensure that QT_VERSION is defined

Otherwise checks such as "#if QT_VERSION >= 0x050600" will fail silently.
This commit is contained in:
Enrico Forestieri 2017-02-07 11:16:05 +01:00
parent 6763301c05
commit 5665209caa

View File

@ -74,6 +74,8 @@
#include <string>
#include <vector>
#include <qglobal.h> // For QT_VERSION
using namespace std;
using namespace lyx::support;