[Development] unable to run qtdeclarative examples

Rasool, Ansar Ansar_Rasool at mentor.com
Wed Aug 24 06:07:22 CEST 2022


Hi All,

Kindly provide some input here.


Regards,
Ansar Rasool
________________________________
From: Rasool, Ansar
Sent: Tuesday, August 23, 2022 6:26:35 PM
To: development at qt-project.org
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 at qemuarm64:/usr/share/examples/quick# ./animation/animationexample
qrc:/animation/animation.qml:52:1: module "shared" is not installed
     import shared as Examples
     ^
root at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20220824/4a5b77e3/attachment.htm>


More information about the Development mailing list