Qt5.1 on Rasberry Pi (full install not cross-compile)
-
Try cloning through http instead of git.
-
Many thanks for the help!
I have used
@git clone http://gitorious.org/qt/qt5.git@
and it is working.I'm slowly going forward.
-
Unfortunately git through http has not finished successfully.
@Cloning into 'qtbase'...
error: The requested URL returned error: 502 (curl_result = 22, http_code = 502, sha1 = 0bcb75ae5bb29dfc3d303bbada13341fa7969858)
error: Unable to find 0bcb75ae5bb29dfc3d303bbada13341fa7969858 under http://gitorious.org/qt/qtbase.git
Cannot obtain needed tree 0bcb75ae5bb29dfc3d303bbada13341fa7969858
while processing commit e6cac2c19315c9127f5b4048088e66da6b9296fe.
error: Fetch failed.
@I have moved to another network with access to git and it was ok for long time. However after one day of compiling there was some problem with power and it was not finished.
I am trying to run it once again but now I have problem with configure
@bash: ./configure -v -opengl: No such file or directory@
When I run configure without options it works.I would be grateful for any suggestions what I'm doing wrong.
Or maybe somebody is able to build a torrent with image of rpi with qt? I promise to seed it.
-
I have managed to compile this.
There are some errors when the cube example is run
@EGLFS: Unable to query physical screen size, defaulting to 100 dpi.
EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
EGLFS: Unable to query screen depth, defaulting to 32.
EGLFS: To override, set QT_QPA_EGLFS_DEPTH.
@
but I am able to compile and run my software.I have made back up image of my sd card
@sudo dd if=/dev/mmcblk0 of=/path/to/image.img@
The image is more than 4GB. I have tested the backup: qmake and make are ok. Unfortunately there are some problems with "opt" directory, tightvncserver and possibly other as well ....
Do you know what caused the problems? Should I do the image in another way?If somebody would like a copy of the image, despite the problems, I will try to help.
I can try to create a torrent or maybe there is better solution? -
Hi,
Sorry for up this old thread.
In the ./configure, I get this error:bq. bsymbolic_functions.c:2:2: error: #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)."
Symbolic function binding disabled.How can I disable it? Even in the output file said it is disabled, didn't create the make file and I can not continue the install process.
What can I do?
Thanks!
-
Hi all,
I have the same problem that POLON encounter
pi@raspberrypi ~/opt $ git clone git://gitorious.org/qt/qt5.git
Cloning into 'qt5'...
fatal: unable to connect to gitorious.org:
gitorious.org[0: 87.238.52.168]: errno=Connection timed out
gitorious.org[1: 2a02:c0:1014::1]: errno=Address family not supported by protocolI can't figure out what is going on, I have been on Linux environment for just 3 days,
i was requested to install a Qt on Raspberry-Pi Debian Wheezy. -
In order to properly run configure for Qt5 on the Raspberry Pi, you need to point the CROSS_COMPILE variable to the native compiler located at /usr/bin/g++. The CROSS_COMPILE parameter is the path to the compiler (without the g++). If you do not do this properly it will complain that it is not being cross compiled.
All output is stored in the file called ‘output’ in case something goes wrong. At the end of the output file it should say you can run ‘make’, if not look for errors at the end of the output.
Do not be concerned with some things not building due to missing packages, there will be errors for those. If it does not mention that you can run make then check the last error, it is generally the show-stopper.
Run configure:
./configure -v -opengl es2 -device linux-rasp-pi-g++ -device-option CROSS_COMPILE=/usr/bin/ -opensource -confirm-license -optimized-qmake -reduce-relocations -reduce-exports -release -qt-pcre -make libs -prefix /usr/local/qt5 &> outputThis part i could not go through.. any advise?????
URGENT!! PLEASE HELP, thank you very much
-
Have a look at "this blog":http://www.ics.com/blog/building-qt-5-raspberry-pi. I followed most of it with 5.3 and eventually got it to run.
-
Hi, JvdGlind,
I could not understand the following... The pi$ should be LXterminal. What is the Host Workstation?
bq. Throughout this guide the symbol “$” denotes a command prompt on the host workstation, and “pi$” denotes a command prompt on the target Raspberry Pi.
-
Can I use this instruction for Banana Pi which using raspbian?
I confuse device name of configuration below:
./configure -v -opengl es2 -device linux-rasp-pi-g++ -device-option CROSS_COMPILE=/usr/bin/ -opensource -confirm-license -optimized-qmake -reduce-relocations -reduce-exports -release -qt-pcre -make libs -prefix /usr/local/qt5 &> outputShould I use option linux-rasp-pi-g++ ?
-
Not sure if this can help but i grabbed the latest 5.4 beta source package from qt website and it actually seems to build without any patch with a cross compile toolchain.
I was able to have lots of the component to work, although something looked strange with the generated binaries and X11. like if you make a simple widegt app with qt creator, on a regular workstation (PC / mac) this wll show a small window. on the rpi it looks like a fullscreen window and doesnt behave normally (you cannot close it with the mouse, you have to kill it).
I'm currently trying to build it on the rpi natively to see how it bahaves. i'm not sure if anyone got QT 5.4 beta to build and run with a normal behaviour yet but would be interested with any feedback and specifically if any patches are required on 5.4.
Thanks.
-
I've been struggling with getting QT5 compiled for my raspberry pi. I finally found the instructions here for compiling it..
It took 46 HOURS to complete but I managed to get a working binary. Decided to save some people a lot of time,
I'm no good at doing .deb files but I tarred and bzip2'd the folder up and made it available to the public on my blog. http://tinyurl.com/kza5uob
All you need to do is uncompress/untar and sudo make install and do the modifications to bashrc..
-
I've been struggling with getting QT5 compiled for my raspberry pi. I finally found the instructions here for compiling it..
It took 46 HOURS to complete but I managed to get a working binary. Decided to save some people a lot of time,
I'm no good at doing .deb files but I tarred and bzip2'd the folder up and made it available to the public on my blog. http://tinyurl.com/kza5uob
All you need to do is uncompress/untar and sudo make install and do the modifications to bashrc..