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: quickI 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.
-
@harip said in Building QML based applications in Raspberry Pi:
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?