QML is primarily intended for mobile platforms. Due to her youth and her concern for the various interface interfaces of the platform, she does not have standard controls, such as buttons and combo boxes (but see the Components project). If you are on a mobile phone or your user interface requires a special visual style, QML may be worth considering. Get ready for a lot of extra work on developing custom controls. In my opinion, the integration of QML and C ++ is still quite complicated. I personally would recommend using QML only for simpler applications, only on mobile platforms and only with JavaScript. Under the right circumstances, I could consider creating custom QML elements in C ++.
The Qt C ++ API is not leaving soon. It is also designed with desktops in mind and will better meet the expectations of users on desktop platforms. If you're on the desktop, I would recommend sticking with C ++ and Designer. Even after QML matures a bit, it probably won't be the right solution for most desktop applications.
Update!
Things seem to be starting to change . I have not tried new components yet, and the documentation seems a bit sparse (or at least aside), but this may ultimately remove the biggest barrier to using QML on the desktop. It is not yet clear whether this will receive support in the long run, but if you agree to risk becoming an early adopter, I think that QML can now be a viable choice for desktop applications.
Steve S Jan 05 2018-11-11T00: 00Z
source share