summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopenglversionfunctions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/qopenglversionfunctions.h')
-rw-r--r--src/opengl/qopenglversionfunctions.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/opengl/qopenglversionfunctions.h b/src/opengl/qopenglversionfunctions.h
index 546f3f3e41..274ed29c7c 100644
--- a/src/opengl/qopenglversionfunctions.h
+++ b/src/opengl/qopenglversionfunctions.h
@@ -54,9 +54,6 @@
#ifndef QT_NO_OPENGL
-#if QT_DEPRECATED_SINCE(5, 6)
-#include <QtCore/qhash.h>
-#endif
#include <QtCore/qhashfunctions.h>
#include <QtCore/qpair.h>
#include <QtGui/qopengl.h>
@@ -77,10 +74,6 @@ class QOpenGLContext;
#pragma qt_sync_stop_processing
#endif
-#define QOPENGL_DEPRECATEDFUNCTION \
- qFatal("This function was erroneously included in previous versions of Qt and is here only for binary compatibility. " \
- "If you need to use this function, please use a legacy OpenGL version or a Compatibility profile.")
-
struct QOpenGLVersionStatus
{
enum OpenGLStatus {