Using opengl in QT
-
Hello
I am quite new to using QT. I am using QT 5.2.0 with mingw48 opengl. I want to start learning qtopengl. Can anyone provide a sample code to get started with it? At the beginning I want to draw a 3d-piechart. Kindly guide me.
Thanks
-
Hi jheengoo,
maybe those examples can be helpful: "examples-widgets-opengl":https://qt-project.org/doc/qt-5/examples-widgets-opengl.html -
Thankssssss a million
-
Keep in mind however that some of the examples there are way too old and do not reflect the modern Qt & OpenGL practices that are desirable nowadays.
When starting from scratch, https://qt-project.org/doc/qt-5.0/qtgui/openglwindow.html is perhaps a better introductory example.