Up until this point, we have talked about Qt Widgets and QML, but so far we haven't really done much in the way of a direct comparison. Let's take a look at one of the applications we have already developed in Qt Widgets and consider how it might look if we were to rewrite it in QML.
Revisiting some old friends
Hello from Qt!
The first project we did was Hello from Qt! You probably still remember it:
The program simply presented a screen where you could enter your name and it would reply with Nice to meet you and your name. We started developing it on the Host in Chapter 2, Writing Your First Qt Application, and then finished its development in Chapter 3, Running Your First Application on the Target, when we ran...