[Qt5-feedback] C++ api to use for UI in addition to QML
Serhiy
4bugzilla at gmail.com
Mon May 16 11:03:30 CEST 2011
Hello,
There is a set of widgets which are created specially for QML. And
that's the "recommended" way to develop applications for QT5.
See http://labs.qt.nokia.com/2011/03/10/qml-components-for-desktop/
But many people complain that they are forced to use JavaScript for this.
I believe that a public C++ api to work with the same QML widgets will
address these complaints. Ok, I agree that QML will be less verbose to
express such GUIs. But what people want is to be able to do the same
but with C++.
I am talking about the same thing that JavaFx 2 will provide compared
to JavaFx 1.x.
The idea is that there could be a set of widgets created on top of new
architecture and you as a developer should be able to work with them
both ways - using QML (you get less verbose declarative approach) and
using good old C++ since QT is written in C++ anyway.
So my point is that since QT itself uses C++ why not to have C++ api
for new features as well.
Thanks,
Serhiy
More information about the Qt5-feedback
mailing list