Difference b/w qmlscence and qmlviewer
-
Hi i am newbie to QML and i have started reading about QML from just a few days onwards and i was little bit confused about qmlscene and qmlviewer,can anybody please explain me the difference about these two and i need to implement QML in our POS terminal which is planted with IMX6 processor.Which is the best option to execute qml in pos either by qmlscene or qmlviewer.
Please guide me.
Thanks in advance,
Rohith.G -
Hi @Rohith
Theqmlviewer
was a tool used in Qt 4.x versions only and in Qt 5.x it is replaced byqmlscene
. Usually these tools are used for rapid prototyping and testing QML applications and IMO not used for production environment.
The recommended way is to use QQuickView or QQmlApplicationEngine depending upon your requirements. The default template in latest QtCreator will provide youQQmlApplicationEngine
so as to make use ofWindow
.