Building production-ready and reusable UI prototypes in QML

“From prototype to production” and “code re-usability” are two things often mentioned as two of the main reasons and benefits for prefer using Qt over other technologies in our projects. But how does this really look like in practice and what are the usual mistakes we do when being rushed by the strict demo deadlines that will make the code not that re-usable?

Let’s examine what matters we need to take care of before start prototyping and some of the best QML practices to follow so that we end up building a solid base UI code that could be easily integrated with a real backend when it becomes a product or it could be easily reused in other projects getting more than one apps in the price of one!