[SailfishDevel] Problem finding main qml file
Andrey Kozhevnikov
coderusinbox at gmail.com
Tue Nov 12 12:48:03 UTC 2013
i'm using
view->setSource(SailfishApp::pathTo("qml/main.qml"));
On 12.11.2013 18:45, Andreas Enbacka wrote:
>
> Hello,
>
> I am using view->setSource(QUrl::fromLocalFile("qml/projectName.qml))
> to set the initial qml view for my app, however it is not found using
> run-time (it tries to access it from /home/nemo/qml/..). What is the
> correct way to specify the relative path in SailfishOS?
>
> BR,
> Andreas Enbacka
>
> _______________________________________________
> SailfishOS.org Devel mailing list
More information about the Devel
mailing list