mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 14:59:54 +00:00
Place QWindow include under Qt version check
This commit is contained in:
parent
4aa21b9088
commit
46fee678a7
1 changed files with 3 additions and 0 deletions
3
extern/osgQt/GraphicsWindowQt.cpp
vendored
3
extern/osgQt/GraphicsWindowQt.cpp
vendored
|
@ -17,7 +17,10 @@
|
|||
#include <osgViewer/ViewerBase>
|
||||
#include <QInputEvent>
|
||||
#include <QPointer>
|
||||
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
|
||||
#include <QWindow>
|
||||
#endif
|
||||
|
||||
#if (QT_VERSION>=QT_VERSION_CHECK(4, 6, 0))
|
||||
# define USE_GESTURES
|
||||
|
|
Loading…
Reference in a new issue