Solved Qt Desinger vs code based gui
-
i am building a heavy app(not graphical intensive).
I AM CONFISUDE IN CREATING GUI .
i wanted to know which is better Qt Desinger or code based gui in this category ??- ram usage.
- in gpu usages
- cpu usages.
-
There is no big difference except one additional class in case of designer. If you are beginner life may be easy to create the UI using designer.
-
Hi
Performance wise there is no difference to speak of.
What ever you draw in UI files is translated to c++ code and run
inside the setupUI(). Its not read in at runtime or anything like that.
The pointers to the generated widgets are stored in the UI struct and
with direct code they would just be directly in the .h instead.When code is running, the price for UI->widget->func extra indirection is highly negligible.