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

christopher.lamb at thurweb.ch christopher.lamb at thurweb.ch
Tue Jun 4 16:08:55 UTC 2013


Hi Wim

I think it may well be down to something you are doing in  
GroupBox.qml. Can you post the content of this component?

I get the same error from one of my core apps when it starts up on the  
Sailfish Emulator

% Display on requested
% Qml debugging is enabled. Only use this in a safe environment!
% Using the meego graphics system
% libEGL warning: DRI2: failed to authenticate
% Unable to open input file: No such file or directory
% QFeedbackFFMemless::QFeedbackFFMemless(QObject*) Error: did not find  
vibra spi  device!
% defaultServiceProvider::requestService(): no service found for -  
"com.nokia.qt.camera"
% Camera error: "The camera service is missing"

The app actually starts up despite these errors. I suspect the "Unable  
to open input file" is down to Feedback / Haptics which I have in this  
project, but I have not yet got around to proving it (the "vibra spi"  
line immediately after this points in that direction, and I guess it  
is possible that the emulator does not (yet) properly support haptics.

On the train on the way home later this evening I will comment out the  
haptics stuff and see if the error disappears.

tot zins

Chris




Zitat von "Wim de Vries" <wsvries at xs4all.nl>:

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




More information about the Devel mailing list