Qt6 Online Installer Ubuntu 22.04.1 LTS
-
I had an issue with installing Qt6 for the Raspberry Pi OS 64 bit. => https://forum.qt.io/topic/139524/qt6-with-qt-creator-for-raspberry-pi-os-without-cross-compiling/3
I installed the Ubuntu 22.04.1 LTS 64 bit OS on Raspberry Pi 4 (8GB).
I believe I have installed all the necessary dependencies for Qt Online Installer to work.
sudo apt-get -y install build-essential openssl libssl-dev libssl1.0 libgl1-mesa-dev libqt5x11extras5
sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev
sudo apt-get install g++
When I try to run the Qt Online Installer, I get the same error.
bash: ./qt-unified-linux-x64-4.4.1-online.run: cannot execute binary file: Exec format error
Is there something that I am missing?
-
Is there something that I am missing?
Yes, the Qt installer is compiled for x86_64 architecture, not ARM. It will not work on a Raspberry Pi.
-
@Kevin470 You just need to install Qt and QtCreator packages like any other packages. See https://wiki.ubuntuusers.de/Qt5/
-
@Kevin470 said in Qt6 Online Installer Ubuntu 22.04.1 LTS:
@sierdzio So the only way is to cross compile or install Qt5?
Yes, install whatever OS provides (Ubuntu repos contain both Qt 5 and Qt 6, at least for x86) or compile (or cross-compile) your own.