Hi All,

Kindly provide some input here.


Regards,
Ansar Rasool
________________________________
From: Rasool, Ansar
Sent: Tuesday, August 23, 2022 6:26:35 PM
To: [email protected]
Subject: unable to run qtdeclarative examples


Hi,


I just compiled meta-qt6 with yocto 4.0 (kirkstone) but i am unable to launch 
quick examples. I face below error


***************************************************************************************

root@qemuarm64:/usr/share/examples/quick# ./animation/animationexample
qrc:/animation/animation.qml:52:1: module "shared" is not installed
     import shared as Examples
     ^
root@qemuarm64:

**************************************************************************************

I noticed that in qml files of examples in qtdeclarative, the import command 
has been changed from qt5. 
https://code.qt.io/cgit/qt/qtdeclarative.git/tree/examples/quick/animation/animation.qml?h=6.2.4#n52
however in qt5, it was imported correctly as 
https://code.qt.io/cgit/qt/qtdeclarative.git/tree/examples/quick/animation/animation.qml?h=5.15.1#n52

Is this a bug in qtdeclarative examples? or am i missing something?



Regards,
Ansar Rasool
_______________________________________________
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development

Reply via email to