Re: [SailfishDevel] Problem finding main qml file

2013-11-12 Thread Andreas Enbacka
Thanks, that worked great! //Andreas 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 us

Re: [SailfishDevel] Problem finding main qml file

2013-11-12 Thread Andrey Kozhevnikov
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

[SailfishDevel] Problem finding main qml file

2013-11-12 Thread Andreas Enbacka
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