07-06-2012 11:06 AM
I have posted a forum regard loading the QML file and attachjed the link below which I made conversion with the Native development team..Need immediate to solve this problem.
07-09-2012 11:00 AM
If I understand correctly, you are trying to use Loader directly in QML.
The other thread shows how to do this in C++.
You can use classes documented here:
So the error actually is correct and is not misleading: it claims Loader is not a class because Loader is not a class.
Look at sample stampcollector.
Note the lines:
QmlDocument *qml = QmlDocument::create().load("main.qml");
QmlDocument *contentQml = QmlDocument::create().load("ContentPage.qml");
So this loads both pages separately in C++. Use the objectName to find the pane (e.g. navigation pane) that you want to update with the new page. Samples stampcollector shows how to do that.
Does this answer the question? If so, please mark as solution. If not, can you clarify exactly where you need help?