Place QWindow include under Qt version check

pull/2251/head
Andrei Kortunov 6 years ago
parent 4aa21b9088
commit 46fee678a7

@ -17,7 +17,10 @@
#include <osgViewer/ViewerBase> #include <osgViewer/ViewerBase>
#include <QInputEvent> #include <QInputEvent>
#include <QPointer> #include <QPointer>
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
#include <QWindow> #include <QWindow>
#endif
#if (QT_VERSION>=QT_VERSION_CHECK(4, 6, 0)) #if (QT_VERSION>=QT_VERSION_CHECK(4, 6, 0))
# define USE_GESTURES # define USE_GESTURES

Loading…
Cancel
Save