Hello GL2 Example¶
Hello GL2 example demonstrates the basic use of the OpenGL-related classes provided with Qt
glwidget.cpp Example File¶
glwidget.h Example File¶
logo.cpp Example File¶
logo.h Example File¶
mainwindow.cpp Example File¶
mainwindow.h Example File¶
window.cpp Example File¶
window.h Example File¶
main.cpp Example File¶
hellogl2.pro Example File¶
The Hello GL2 example demonstrates the basic use of the OpenGL-related classes provided with Qt.
Qt provides the QOpenGLWidget class to enable OpenGL graphics to be rendered within a standard application user interface. By subclassing this class, and providing reimplementations of event handler functions, 3D scenes can be displayed on widgets that can be placed in layouts, connected to other objects using signals and slots, and manipulated like any other widget.