> PROBLEM: what path should I use in the main.cpp file to point to the main qml 
> file in the resource?

> SailfishApp::pathTo("qrc:/qml/main.qml") returns 
> /usr/share/myapp/qrc/qml/main.qml  - not found

To load the QML file from resource, you should not use SailfishApp::pathTo, 
instead use QUrl("qrc:/qml/main.qml").

/Kim
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to