- Are there documented general guidelines for mixing QML with C++ for ubuntu apps?
- "QML for UI design and C++ for logic" seems to be the trend. Is this the right way forward?
1 Answer
Please read the QML wiki page. You'll find a link that will guide you to write apps mixing QML and C++:
http://qt-project.org/doc/qt-5/qtqml-cppintegration-topic.html
In addition to this tutorial check the following questions:
-
Thank you for your answer. With regards to point 2 in my question, is it better to restrict c++ only to logic or should it be used to handle the UI dynamically as well. What do you suggest based on experience? Jun 14, 2014 at 10:56
-
1@user3490458: You can manage/create UI elements from C++ (Qt Quick allows this kind of thing) but I would restrict c++ to logic as such operations are a difficult to maintain. Jul 28, 2014 at 12:11