- Qt 6.9
- Qt OpenGL
- C++ Classes
- QOpenGLFunctions_4_0_Compatibility
- Qt 6.9.2 Reference Documentation

# QOpenGLFunctions_4_0_Compatibility Class

The QOpenGLFunctions_4_0_Compatibility class provides all functions for OpenGL 4.0 compatibility profile. More...

Header: | `#include <QOpenGLFunctions_4_0_Compatibility>`
CMake: | `find_package(Qt6 REQUIRED COMPONENTS OpenGL)` `target_link_libraries(mytarget PRIVATE Qt6::OpenGL)`
qmake: | `QT += opengl`
Inherits: | QAbstractOpenGLFunctions

## Detailed Description

This class is a wrapper for functions from OpenGL 4.0 compatibility profile. See reference pages on opengl.org for function documentation.

See also QAbstractOpenGLFunctions.