Raspberry Pi installation of Qt
-
Hello,
I wanted to install Qt on the Raspberry Pi, since the computer I am using right now for Qt is not where all of my C++ files are, which I use for reference when coding. I installed the online installer and adjusted permissions so it could run. Then I tried to run it and it failed. Saying:cannot execute binary file: exec format error
Thanks in advance! : )Note: I am running Raspbian
-
Hi,
The online and offline installers for Linux are for the x86_64 architecture.not ARM.
You should either:
- Install Qt from Raspbian
- Cross-compile Qt
- Compile Qt on your target.
-
Thanks! : )
-
Thanks! : )
@Nite-Coder if your issue is solved, please don't forget to mark your post as such. Thanks
-
I did so, thanks for reminding me!
-
This guide worked for me. Used Qt 5.11.1. Compiled both dynamic and static libraries. (Rasberry Pi 3+)
http://www.tal.org/tutorials/building-qt-510-raspberry-pi-debian-stretchHave fun!
posktomten