Even more strange
I have added QML/pages to qml.files in .pro
GroupBox comes up now, but the error message is still there.

The loading page (SecondPage.qml) and the to-be loaded page (GroupBox.qml) are in the same directory.
Why is it not found by default?

r
wim



On 06/04/2013 03:48 PM, Wim de Vries wrote:
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.berna...@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@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



_______________________________________________
SailfishOS.org Devel mailing list

_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to