- Qt 6.10
- Qt OpenGL
- C++ Classes
- QOpenGLFunctions_4_2_Compatibility
- Qt 6.10.2 Reference Documentation

# QOpenGLFunctions_4_2_Compatibility Class

The QOpenGLFunctions_4_2_Compatibility class provides all functions for OpenGL 4.2 compatibility profile. More...

Header: | `#include <QOpenGLFunctions_4_2_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.2 compatibility profile. See reference pages on opengl.org for function documentation.

See also QAbstractOpenGLFunctions.