How to change source
-
Hi.
I'm using this row
@this->setSource(QUrl("qrc:qml/qml/MyMobilePetTouch/QMMainForm.qml"));@
to set the main qml screen. But How can I chage to another file?
If I run
@QtQuick2ApplicationViewer *Quick2ApplicationViewer= new QtQuick2ApplicationViewer(this);
Quick2ApplicationViewer->setSource(QUrl("qrc:qml/qml/MyMobilePetTouch/QMTools.qml"));
Quick2ApplicationViewer->showExpanded();@
the main screen is under and I want to replace with another new one...
How can I do to load a new qml file? -