diff options
Diffstat (limited to 'src/gui/kernel/qopenglcontext.h')
-rw-r--r-- | src/gui/kernel/qopenglcontext.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qopenglcontext.h b/src/gui/kernel/qopenglcontext.h index 30e4fee0eb..29fed4400c 100644 --- a/src/gui/kernel/qopenglcontext.h +++ b/src/gui/kernel/qopenglcontext.h @@ -42,6 +42,8 @@ #ifndef QOPENGLCONTEXT_H #define QOPENGLCONTEXT_H +#ifndef QT_NO_OPENGL + #include <QtCore/qnamespace.h> #include <QtCore/QObject> #include <QtCore/QScopedPointer> @@ -146,4 +148,6 @@ QT_END_NAMESPACE QT_END_HEADER +#endif // QT_NO_OPENGL + #endif // QGUIGLCONTEXT_H |