Building QML based applications in Raspberry Pi
This is the first time I am trying to build a Qt QML based application targeted to be run in Raspberry Pi. To create a cross compile tool chain I have followed the instructions in the Wiki article in the link https://wiki.qt.io/RaspberryPi2EGLFS. I am able to successfully build and run qtwidget example in the Rpi. However when I try to qmake a qml application I am getting the following error :
Project ERROR: Unknown module(s) in QT: quick
I have tried running sudo apt-get install qtdeclarative5-dev as suggested in many forums. But this is not making any change in my case. Kindly please help me in finding the missing configuration.
I have tried running sudo apt-get install qtdeclarative5-dev as suggested in many forums
This will not help. You need to cross-compile QML modules as well.
Hi, Thanks for the reply.
What needs to be done in addition to cross compile QML modules as well? What is the change to be made in the commands in the article https://wiki.qt.io/RaspberryPi2EGLFS to build QML modules as well?
as far as I know
you replace in the guide
qtbase, with qtdeclarative and if needed qtquickcontrols2
@J.Hilk Thank you .
I will try that,. One more thing, I am also planning to use QtCharts in my application what needs to be added to include this module also.
qtchartsI believe ;-)
@J.Hilk Thank you :)