diff --git a/extern/osgQt/GraphicsWindowQt.cpp b/extern/osgQt/GraphicsWindowQt.cpp index e46cbba2d3..0135a1784b 100644 --- a/extern/osgQt/GraphicsWindowQt.cpp +++ b/extern/osgQt/GraphicsWindowQt.cpp @@ -17,7 +17,10 @@ #include #include #include + +#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) #include +#endif #if (QT_VERSION>=QT_VERSION_CHECK(4, 6, 0)) # define USE_GESTURES