[Development] unable to run qtdeclarative examples

Rasool, Ansar Ansar_Rasool at mentor.com
Tue Aug 23 15:26:35 CEST 2022


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?

Ansar Rasool
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20220823/5be9b375/attachment.htm>

More information about the Development mailing list