Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
Designer or pure C++ code
tomy last edited by
I'm still at the beginning of the book
C++-GUI-Programming-with-Qt-4-2nd Editionand tested some C++ hand-code simple programs and one using the Designer.
As a preference, I prefer hand coding.
Using the Designer we should first create a
Formthen make it connected to all three
main.cppfiles. While the result is the same as hand code. The pure hand code is also more straightforward and simpler. we create a
.hfile and then its implementation in a
.cppfile and finally a
It's easier as well.
Even at least one of the authors of the book use hand-coding always.
What are your habits please on this case?
Do you want to have some advice for me (as a beginner)?
I personally also prefer hand-written code over using the Designer.
Although it might be very handy for quick prototyping/tests, i like to have full control over my code.
I think for a beginner you should go also with hand-written code (at least after spending a little bit of time using the designer to get comfortable in Qt) to actually better understand what happens in your application.
Pradeep Kumar last edited by Pradeep Kumar
As a beginner, using designer to do the stuff is better and parallel hands on coding with C++, is a very good move , coz as @raven-worx said, for better understanding it is much way to be adaptive.
Coz if u want to have customization hand written will come in handy, when u want to have prototypes or just the samples not the plain and complete app , designer is a way go for developing.
others may pitch in with their understanding and experience too.
VRonin last edited by VRonin
I'd be tempted to lock the thread tbh
Pradeep Kumar last edited by