QML is a declarative UI language for Qt, which allows fast coding speed and easy UI development. To take advantage of all the benefits of QML, Felgo Components are mainly based on QML, but also use e.g. C++ or and native code in the background for e.g. physics components or Felgo Plugins.
make sure to also use the default RUN in Qt Creator now, to build and deploy your application. You application itself is the new Live Client then, and you no longer use the default Live Client shipped with the installation (or the app store for the mobile clients).
If your ui only need to run on desktop, better stick with QWidget, it is more matures, stable, feature rich and easy to maintain compare with qml. qml is a great tool to develop mobile like ui, but it definitely not good enough to replace QWidget/QGraphicsView, don’t trust the advertisements of Qt company, their state machine editor still using QGraphicsView to develop but not qml.
No matter how easy to create a bridge between qml and c++, you still need one more abstraction layer to make things work
qml do not support compile time type analysis(type safe)
qml do not check the names between c++/qml matched or not, you need to check it by yourself.
lack of desktop components like treeview, efficient tableview etc
QDesigner of QWidget is much more easier to use and faster compare with qml
Want to find out if Felgo is a good fit for your company?
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: