[SailfishDevel] R: QML: Unable to open input file: No such file or directory

Wim de Vries wsvries at xs4all.nl
Tue Jun 4 13:48:32 UTC 2013


Additinal note:
If I load in FirstPage it does work.
If I load it in ThirdPage it dowsn't.



On 06/04/2013 03:31 PM, Wim de Vries wrote:
> On 06/04/2013 02:56 PM, and.bernabei at gmail.com wrote:
>>
>> Maybe you forgot to add it to the qml.files variable in the .pro 
>> file? Or to the .qrc, if you're using resources :)
> pro:
> # QML files and folders
> qml.files = *.qml pages cover main.qml
>
> and GroupBox.qml as well as MButtom.qml are in the pages directory 
> (next to the qmls).
>
> r
> wim
>
>
>
>> *Da: *Wim de Vries
>> *Inviato: *martedì 4 giugno 2013 14:53
>> *A: *devel at lists.sailfishos.org
>> *Oggetto: *[SailfishDevel] QML: Unable to open input file: No such 
>> file or
>> directory
>>
>>
>> Hi,
>> I am sandboxing the sailfishapplication.
>> In the page dir, I created my MButtom.qml.
>> This one is loaded in the SecondPage.
>> Works fine.
>> I also have a GroupBox.qml.
>> When I load this one I get:
>>
>> Unable to open input file: No such file or directory
>>
>>
>> SecondPage.qml:
>>
>> import QtQuick 1.1
>> import Sailfish.Silica 1.0
>>
>> Page {
>> id: page2
>> MButton
>>  {
>>  id: r1
>>  buttonText: "MBUTTON"
>>  }
>>
>> GroupBox
>> {
>> id : altWindow
>> }
>>
>> }
>>
>> Any hints.
>> Thanks.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sailfishos.org/pipermail/devel/attachments/20130604/c5b45398/attachment.html>


More information about the Devel mailing list