[SailfishDevel] Problem finding main qml file

Andreas Enbacka aenbacka at gmail.com
Tue Nov 12 13:09:31 UTC 2013


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 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
>
> _______________________________________________
> SailfishOS.org Devel mailing list



More information about the Devel mailing list