Solved Error running imported project
-
Hi again
Thanks @jsulm resolved
An other error:
:-1: error: Project ERROR: Unknown module(s) in QT: quick quickwidgets quickcontrols2 serialbus -
@imene Same as with the other module: install these missing modules...
-
@jsulm It returns me this error:
pi@raspberrypi:~ $ sudo apt install quick quickwidgets quickcontrols2 serialbus Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package quick
E: Unable to locate package quickwidgets
E: Unable to locate package quickcontrols2
E: Unable to locate package serialbus -
You typed wrong package names. The package names start with libqt5 as in jsulm's reply.
or
apt list libqt5*
to list all related packge names and install the ones you need.you can also install synaptic
sudo apt-get install synaptic
then launch it with sudo synaptic
and search any package name(for example quickwidgets) and install it from there. -
@JoeCFD
look what it gives me in turn:
sudo apt install libqt5quick libqt5quickwidgets libqt5quickcontrols2 libqt5serialbus
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libqt5quick
E: Unable to locate package libqt5quickwidgets
E: Unable to locate package libqt5quickcontrols2
E: Unable to locate package libqt5serialbusAnd i get this when i search for them in synaptic:
-
Install the dev packages for these modules.
-
@SGaist How could i install them ? i've added -dev after packages and it gives me the same error.
-
@imene In the screenshots you posted you can see the exact package names, so why don't you simply use these package names to install them?
-
Thanks guys solved i've installed dev packages : qtdeclarative5-dev, libqtserialbus5-dev, qtquickcontrils2-5-dev.
This time the app does work but i get this warning:
-
@imene Remove the name of the parameter "column" if you do not use it to get rid of this warning