Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Qt and OpenGL for game development

Tags:

qt

opengl

I have a few questions about Qt.

  1. I already know that Qt and OpenGL can be used together. At the moment we are using GLUT at my university (for window and input management). I saw that Qt is able to do the same thing. Are there any disadvantages of using Qt instead of GLUT? (performance wise)

  2. I also know that Qt can be used to build a ingame GUI. I even saw this 3d GUI example WolfenQt. So it is possible. But does it make sense to use Qt for an ingame GUI if you care about perfomance?

like image 434
Maik Klein Avatar asked Dec 15 '12 12:12

Maik Klein


1 Answers

Qt, like any other tool can be misused. But just because you use Qt this does not mean, OpenGL performance will suffer. OpenGL doesn't care about what and how its context and the drawable it's bound to are created. The biggest impact Qt has is, how it manages and delivers events; the signal/slots mechanism.

like image 81
datenwolf Avatar answered Oct 06 '22 19:10

datenwolf