What is the best way to switcha project to using qml?

  • I have an Android project that is currently using widgets. I would like to start using qtquick and qml. Does anybody have any suggestions as to what would be the best way to switch over to qtquick and qml?

  • Moderators

    Since you are about to make big changes, I would recommend going really big :) So design a new interface from scratch. If you want to retain the old look, you can use QtQuick.Controls... but then, why move away from Widgets at all ;)

    If you have a good separation of logic and UI, the transition should go pretty well. If not, you will need to put in a lot of work. As for QML itself, I would advise to try doing some simple, small projects in it first: just to get to know the language and it's philosophy. Then it will be much easier for you to design the main project.

Log in to reply