[SailfishDevel] dqml - Sailfish.Silica is not installed

Schneck, Dennis dennis.schneck at schulergroup.com
Fri Jul 1 07:40:14 UTC 2016


Hi Chris,

I thought i can write the QML File on my Linux Host
an run it with dqml - am i wrong ?
So i understand the youtube video from Joona Petrell

> Are you using the correct Qt?

The QT5 from Manajro Linux, and the dqml on my Host.


Silica i did not found only in (
/home/username/SailfishOS/mersdk/targets/SailfishOS-i486/usr/lib/qt5/qml/Sailfish/Silica
)



> <enter the chroot>

i dont thnik that
/home/username/SailfishOS/mersdk/targets/SailfishOS-i486/usr/

is usable for chroot




https://www.youtube.com/watch?v=jByW7UNmbxU



Am 01.07.2016 um 09:32 schrieb Chris Adams:
> Hi Dennis,
> 
> Are you using the correct Qt?  You need to use the Qt installation (e.g., qmlscene etc) which has the plugin installed into it.
> 
> So, I don't use the Sailfish OS application development SDK personally, but I suspect you should do something like:
> 
> <enter the chroot>
> QML_IMPORT_TRACE=1 QML2_IMPORT_PATH=/usr/lib/qt5 /usr/lib/qt5/bin/qmlscene /home/developer/project/main.qml
> 
> Note that within the chroot env, the path /usr/lib/qt5 will be symlinked to the appropriate path (i.e., /home/username/SailfishOS/mersdk/targets/SailfishOS-i486/usr/lib/qt5/) on your host machine.
> 
> Cheers,
> Chris.
> 
> ________________________________________
> From: devel-bounces at lists.sailfishos.org [devel-bounces at lists.sailfishos.org] on behalf of Schneck, Dennis [dennis.schneck at schulergroup.com]
> Sent: Friday, July 01, 2016 5:17 PM
> To: Sailfish OS Developers
> Subject: Re: [SailfishDevel] dqml - Sailfish.Silica is not installed
> 
> If i understand right:
> 
> export QML_IMPORT_TRACE=1
> export QT_DEBUG_PLUGINS=1 t
> 
> 
> export
> QML2_IMPORT_PATH=/home/username/SailfishOS/mersdk/targets/SailfishOS-i486/usr/lib/qt5/qml/Sailfish/Silica
> QML2_IMPORT_PATH
> 
> 
> but got error: "file:///home/developer/untitled2/qml/untitled2.qml:32
> module \"Sailfish.Silica\" is not installed\n"
> 
> 
> 
> 
> Am 01.07.2016 um 08:58 schrieb Chris Adams:
>> Hi Dennis,
>>
>> Most likely you need to set QML2_IMPORT_PATH to point to wherever you have installed the Sailfish Silica QML plugin.
>>
>> You can use QML_IMPORT_TRACE=1 and QT_DEBUG_PLUGINS=1 to get more information.
>>
>> Cheers,
>> Chris.
>>
>> ________________________________________
>> From: devel-bounces at lists.sailfishos.org [devel-bounces at lists.sailfishos.org] on behalf of Schneck, Dennis [dennis.schneck at schulergroup.com]
>> Sent: Friday, July 01, 2016 4:20 PM
>> To: Sailfish OS Developers
>> Subject: [SailfishDevel]  dqml - Sailfish.Silica is not installed
>>
>> Chirs,
>> what i need to do to set PATH for Sailfish.Silica
>> because the dqml  say  Sailfish.Silica is not installed
>> thanks
>>
>>
>>
>> Am 01.07.2016 um 08:00 schrieb Schneck, Dennis:
>>>
>>> Hi Chris,
>>> thanks a lot!
>>>
>>>
>>>
>>> Am 01.07.2016 um 07:58 schrieb Chris Adams:
>>>> Hi Dennis,
>>>>
>>>> https://github.com/sletta/dqml
>>>>
>>>> Cheers,
>>>> Chris.
>>>>
>>>> ________________________________________
>>>> From: devel-bounces at lists.sailfishos.org [devel-bounces at lists.sailfishos.org] on behalf of Schneck, Dennis [dennis.schneck at schulergroup.com]
>>>> Sent: Friday, July 01, 2016 3:43 PM
>>>> To: Sailfish OS Developers
>>>> Subject: [SailfishDevel] dqml - where can i get it ?
>>>>
>>>> Hello,
>>>> i am using Manjaro Linux 16.06.1 xfce + SailfishOSSDK-Beta-1602.
>>>>
>>>> Saw the Video from: Joona Petrell on Youtube (see at the end).
>>>>
>>>> Where can i get the "dqml" to view the qml Code running ?
>>>>
>>>> Thanks
>>>>
>>>>
>>>> https://www.youtube.com/watch?v=jByW7UNmbxU
>>>> _______________________________________________
>>>> SailfishOS.org Devel mailing list
>>>> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
>>>> _______________________________________________
>>>> SailfishOS.org Devel mailing list
>>>> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
>>>>
>>>
>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
>>
> 
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
> 


More information about the Devel mailing list