Using opengl in QT
General and Desktop
4
Posts
3
Posters
1.0k
Views
1
Watching
-
wrote on 22 Feb 2014, 10:28 last edited by
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
-
wrote on 24 Feb 2014, 04:47 last edited by
Hi jheengoo,
maybe those examples can be helpful: "examples-widgets-opengl":https://qt-project.org/doc/qt-5/examples-widgets-opengl.html -
wrote on 24 Feb 2014, 06:16 last edited by
Thankssssss a million
-
wrote on 25 Feb 2014, 11:27 last edited by
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.
1/4