Project Submission
Tom Zander
tom at flowee.org
Thu Sep 23 18:33:10 BST 2021
On woensdag 22 september 2021 18:03:42 CEST Aleix Pol wrote:
> > Would you still propose going for QML given in this
> > situation?
Rewriting existing, working a C++ app in QML is absolutely not
needed. That would be a waste of effort.
You might consider adding a QML layer on top of your C++ classes
to reuse existing Plasma widgets, though.
Look at it like this;
The C++ classes are the 'model', they fetch the data and handle
the logic. The QML can be the display layer (the view) because
its nice and easy to make things look good using QML. But
**what** is displayed comes from the C++ models.
LIke Aleix said, the two work really well together.
https://doc.qt.io/qt-5/qtqml-cppintegration-data.html
More information about the kde-devel
mailing list