I
I
IvanFaQerstein2015-06-01 22:02:31
Qt
IvanFaQerstein, 2015-06-01 22:02:31

Is it rational to use Qt elements in a game engine?

Hello. I have a purely theoretical question. I am designing a game engine. The engine will be for fairly simple games (2-D Isometrics and all, but that's not important), so I will use SDL for I/O, graphics and sound. Everything seems to be clear, but lately I have become very used to Qt and would like to use its elements in the engine (collection library, strings, XML tools, signal slots, etc.). Will I lose much in performance and/or other important aspects of the game if I include such a high-level library?
PS
I understand that making engines is the lot of schoolchildren in the eyes of many people, but for me it's just a pleasant challenge.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Antony, 2015-06-01
@IvanFaQerstein

I see no reason to use both Qt and SDL at the same time - they duplicate each other's functionality.

D
Daniil Basmanov, 2015-06-02
@BasmanovDaniil

If you are making the engine for yourself to play around with, then you can use any libraries for your convenience. All questions about fast / slow can only be solved in a specific situation with the help of tests. Make, for example, a million signals and measure the speed, if this is enough for you, then you can use it. Game-wise, you're unlikely to win, Qt isn't designed for that, but then again, who cares if it suits you?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question