Raspberry Pi installation of Qt
-
wrote on 14 Jul 2018, 14:33 last edited by
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.
-
wrote on 15 Jul 2018, 01:18 last edited by
Thanks! : )
-
Thanks! : )
wrote on 15 Jul 2018, 01:47 last edited by@Nite-Coder if your issue is solved, please don't forget to mark your post as such. Thanks
-
wrote on 15 Jul 2018, 11:41 last edited by
I did so, thanks for reminding me!
-
wrote on 16 Jul 2018, 00:51 last edited by posktomten
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
5/6