Error running imported project
-
Qt creator gives me in return this when i try to open an .pro file project
And when i run .pro file it gives me in return this error:
OS: Raspbian GNU/Linux 11 (bullseye) [linux version 5.15.53-v7+]
Qt Creator 4.14.1
Based on Qt 5.15.2 (GCC 10.2.1 20210110, 32 bit) -
Hi
How did you install Qt ?
Seems only the base was installed and not QML
try with this
https://packages.debian.org/bullseye/libqt5qml5
and this
https://packages.debian.org/bullseye/libs/libqt5serialbus5-plugins -
Hi,
The .pro.user file is specific to the machine where you used Qt Creator, it's not a file that you move around and typically exclude vcs systems.
As for the other error, as @mrjj already wrote, you did not install the corresponding development packages on your RPi.
-
@imene said in Error running imported project:
How could i add those packages that u recommanded ?
sudo apt install libqt5qml5 libqt5serialbus5-plugins
-
@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.