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

Wim de Vries wsvries at xs4all.nl
Tue Jun 4 13:31:14 UTC 2013


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

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


More information about the Devel mailing list