How to install Qt on a Raspberry Pi2
Newbie here. I only know how to program some (non-GUI) C/C++. I'd like to install Qt on my raspberry Pi2 Raspbien Linux. I tried:
sudo apt-get update
sudo apt-get upgrade
git clone https://github.com/qtproject/qt5.git
This is the error:
Cloning into 'qt3d'...
error: The requested URL returned error: 403 while accessing
fatal: HTTP request failed
git clone --branch dev https://github.com/qtproject/qt5qt/qt3d.git
qt3d exited with status 32768 at ./init-repository line 215
Is this the right approach? what am I doing wrong? thank you for any help.
Hello, I am also a newbie, but I have managed to install Qt 5.6 on my Raspberry Pi 2 running Raspbian Wheezy (I moved away from Jessie just because I think I would be able to avoid more errors) just 2 days ago, using a cross-compiler on Ubuntu 15 in a virtual machine.
This guide https://wiki.qt.io/RaspberryPi_Beginners_Guide works great for the most parts, except that the fixQualifiedLibraryPaths script didn't work for me, so I had to fix two broken symlinks by hand.
I am not very familiar with this and in fact, right now, I am still facing problems sometimes but I'd be happy to help if you'd face any problem that happened to occur to me as well.
If you look to install Qt 5 natively on Raspberry Pi without another PC to cross-compile, I believe there is a guide for it in the same wiki page as well.
Hi, thank you for your response! I was able to install Qt on my PI2 using their apt-get process. It works great now!
How can you find out which version of Raspbien is installed (jessie, etc)?