QT5 Cross Compile for Raspberry Pi Tutorial
-
Does anyone know of a Qt5 tutorial on setting up Qt with Raspberry Pi for cross compiling. I tried following http://wiki.qt.io/RaspberryPi_Beginners_guide but it seems to be removed since it seemed to be quite outdated.
-
This is the updated link for that guide: https://wiki.qt.io/Raspberrypi_beginners_guide
-
Thanks!
This seems to be the same one I tried earlier with dead links. I was able to download the toolchain but it seems to be a corrupted download since it won't tar. Is there another tutorial that works?
-
Hi and welcome to devnet,
Do you mean the toolchains from the github project don't work ?
-
This post is deleted! -
I was final able to get the toolchain downloaded but now I'm having an issue with
cd ~/opt/qt5/qtjsbackend
but I get no such files or directory error and there is no qtjsbackend file in the qt5 directory.
-
Hi,
AFAIK, this one you have to clone manually
-
After "cd~/opt/qt5/qtjsbackend" part nothing seems to work. Why is Qt5 such a nightmare when Qt4 installation was so easy? Does anyone know of another procedure that works?
-
What exactly doesn't work ?
-
wget http://downloads.raspberrypi.org/raspbian_latest/ -O wheezy-raspbian-latest.zip
results in the following error
pi@raspberrypi ~/opt $ wget http://downloads.raspberry
pi.org/raspbian_latest/ -O wheezy-raspbian-latest.zip
--2015-04-29 03:26:27-- http://downloads.raspberrypi.
org/raspbian_latest/
Resolving downloads.raspberrypi.org (downloads.raspber
rypi.org)... 93.93.130.39, 93.93.130.214, 93.93.128.21
1, ...
Connecting to downloads.raspberrypi.org (downloads.ras
pberrypi.org)|93.93.130.39|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://downloads.raspberrypi.org/raspbian/im
ages/raspbian-2015-02-17/2015-02-16-raspbian-wheezy.zi
p/ [following]
--2015-04-29 03:26:27-- http://downloads.raspberrypi.
org/raspbian/images/raspbian-2015-02-17/2015-02-16-ras
pbian-wheezy.zip/
Reusing existing connection to downloads.raspberrypi.o
rg:80.
HTTP request sent, awaiting response... 302 Found
Location: http://director.downloads.raspberrypi.org/ra
spbian/images/raspbian-2015-02-17/2015-02-16-raspbian-
wheezy.zip/ [following]
--2015-04-29 03:26:27-- http://director.downloads.ras
pberrypi.org/raspbian/images/raspbian-2015-02-17/2015-
02-16-raspbian-wheezy.zip/
Resolving director.downloads.raspberrypi.org (director
.downloads.raspberrypi.org)... 93.93.128.230, 93.93.13
0.39, 93.93.128.211, ...
Reusing existing connection to downloads.raspberrypi.o
rg:80.
HTTP request sent, awaiting response... 404 Not Found
2015-04-29 03:26:28 ERROR 404: Not Found.sudo apt-get install ia32-libs
Gives the following errorReading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ia32-libsIt runs ok up to "cd ~/opt/qt5/qtjsbackend" but I then I get the following error
-bash: cd: /home/pi/opt/qt5/qtjsbackend: No such file or directoryI also tried "git fetch https://codereview.qt.io/p/qt/qtjsbackend refs/cha
nges/56/27256/4 && git cherry-pick FETCH_HEAD" but it gave the following errorerror: Couldn't resolve host 'codereview.qt.io' while accessing https://codereview.qt.i
o/p/qt/qtjsbackend/info/refs
fatal: HTTP request failedI didn't go any further.
-
-
I tried using the address you listed (git fetch https://codereview.qt-project.org/p/qtjsbackend refs/changes/56/27256/4 && git cherry-pick FETCH_HEAD
and get the following error: fatal: remote error: Git repository not foundI just tried clicking on the link and it appears empty.
Any ideas?
-
You have a fork here But IIRC, that was for the v8 engine, so you shouldn't need it with a recent version of Qt