Qt 5.6 | Qt OpenGL | Hello GL2 Example

Qt 5.6.2 Reference Documentation

# Hello GL2 Example

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.

Files:

- hellogl2/glwidget.cpp
- hellogl2/glwidget.h
- hellogl2/logo.cpp
- hellogl2/logo.h
- hellogl2/mainwindow.cpp
- hellogl2/mainwindow.h
- hellogl2/window.cpp
- hellogl2/window.h
- hellogl2/main.cpp
- hellogl2/hellogl2.pro