Installing Qt 5 on Debian (bullseye)
-
Re: Installing Qt 5 on Debian
Hello
I'm trying to run this but it doesn't work, wish is the best way to install qt in his newest version for Debian os (bullseye) ?
pi@raspberrypi:~/Downloads $ chmod +x qt-unified-linux-x64-4.4.1-online.run
pi@raspberrypi:~/Downloads $ ./qt-unified-linux-x64-4.4.1-online.run
bash: ./qt-unified-linux-x64-4.4.1-online.run: cannot execute binary file: Exec format error -
Re: Installing Qt 5 on Debian
Hello
I'm trying to run this but it doesn't work, wish is the best way to install qt in his newest version for Debian os (bullseye) ?
pi@raspberrypi:~/Downloads $ chmod +x qt-unified-linux-x64-4.4.1-online.run
pi@raspberrypi:~/Downloads $ ./qt-unified-linux-x64-4.4.1-online.run
bash: ./qt-unified-linux-x64-4.4.1-online.run: cannot execute binary file: Exec format errorHi, and welcome!
@imene said in Installing Qt 5 on Debian (bullseye):
bash: ./qt-unified-linux-x64-4.4.1-online.run: cannot execute binary file: Exec format error
The installer only runs on x86-64 CPUs, but your Raspberry Pi has an ARM CPU.
Debian Bullseye already has Qt 5.15.2 in its repository, so just use apt to install it:
sudo apt install qtbase5-dev qt5-qmake qtbase5-dev-tools
-
Hi, and welcome!
@imene said in Installing Qt 5 on Debian (bullseye):
bash: ./qt-unified-linux-x64-4.4.1-online.run: cannot execute binary file: Exec format error
The installer only runs on x86-64 CPUs, but your Raspberry Pi has an ARM CPU.
Debian Bullseye already has Qt 5.15.2 in its repository, so just use apt to install it:
sudo apt install qtbase5-dev qt5-qmake qtbase5-dev-tools
-
Thanks a lot @JKSH
After installing Qt creator with this cmd "sudo apt-get install qtcreator" should i make
$ sudo apt-get install build-essential
$ sudo apt-get install libfontconfig1-dev libdbus-1-dev libfreetype6-dev libicu-dev libudev-dev libinput-dev libxkbcommon-dev libssl-dev libpng-dev libjpeg-dev libglib2.0-dev libraspberrypi-dev
Like it's showns in this tuto '(http://tvaira.free.fr/projets/activites/activite-qt5-rpi.html)?