unknown modules in qt quick , at a time of building for Rpi.
-
i have set up the rpi kit on my linux Qt platform and when I began developing project, I selected the my Rpi kit but build didnot complete it shows an error :-1: error: Unknown module(s) in QT: quick,
and it shows red line under "import QtQuick.Controls 2.5" in main.qml
and many red circles in main.cpp.for setting up my qt for rpi kit, I used a link "https://wiki.qt.io/RaspberryPi2EGLFS".
My Qt version is 5.12.9
and I have used Rpi Zero w.Please help.
-
@boezz said in unknown modules in qt quick , at a time of building for Rpi.:
error :-1: error: Unknown module(s) in QT: quick,
If you look at the guide you pointed to, it only builds
qtbase
.
You need to build and installqtdeclarative
module.
Or you could alternatively get the sources for whole Qt framework (qt-everywhere-src-5.x.x) and configure and build several Qt components at once.