Qt 5.0 - This is a viable option for developing 3D games / applications.

I recently noticed that there is a new version of Qt. I have no personal experience developing games or applications with it, but I am looking for an API or framework that will simplify the creation of a graphical interface for my applications written in C ++ and OpenGL. At this point, Im was less worried about cross-platform, but I could benefit from this in the future.

I understand that the real strength of Qt lies in its flexibility and cross-platform functionality. Obviously, this is due to a compromise; less control over the main circuit.

I spent several days flipping through articles and blogs and didn’t see much about Qt 5, and the rest of the Qt information seems to indicate that this is not a great choice for 3D games. I wanted the discussion to take place, as most of the information I found seems rather outdated.

So, I think my questions are:

  • Is Qt viable for developing 3D applications / games?

  • For example, if I wanted to create a three-dimensional application with several viewports with an appropriate graphical interface and viewport, spent on a relatively large number of policies (say, 6 million) with some degree of 3D texturing and several passes / shaders, can I use Qt?

From what I read, using GUI elements in Qt seems to take a lot of CPU time. I admit that your program has optimization, but the Qts GUI is a big plus, and I would not want to use Qt if I could not use it.

+4
source share
1 answer

Qt OpenGL widgets provide only a platform wrapper for code that you will also find in SDL, GLFW, GLUT, etc.

The performance of your application will not interfere with the Qt shell unless you use the QOpenGL API (which draws OpenGL through the Qt API).

If you use only Qt to configure the OpenGL context and write the rest of your 3D application directly to OpenGL, Qt has nothing to do with it. When it sets the OpenGL context, the rest (rendering) remains OpenGL itself.

Speaking of which, StackOverflow is not a discussion forum.

+5
source

All Articles