Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt Desinger vs code based gui
saber last edited by saber
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.
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.