diff options
Diffstat (limited to 'src/opengl')
-rw-r--r-- | src/opengl/qopenglwidget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qopenglwidget.h b/src/opengl/qopenglwidget.h index b331880b5d..b266dc359d 100644 --- a/src/opengl/qopenglwidget.h +++ b/src/opengl/qopenglwidget.h @@ -42,7 +42,7 @@ #include <QtOpenGL/qtopenglglobal.h> -#ifndef QT_NO_OPENGL +#ifdef QT_WIDGETS_LIB #include <QtWidgets/QWidget> #include <QtGui/QSurfaceFormat> @@ -110,6 +110,6 @@ private: QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_WIDGETS_LIB #endif // QOPENGLWIDGET_H |