Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Qt5.1 on Rasberry Pi (full install not cross-compile)
Forum Updated to NodeBB v4.3 + New Features

Qt5.1 on Rasberry Pi (full install not cross-compile)

Scheduled Pinned Locked Moved QtonPi
93 Posts 24 Posters 123.6k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tiotodi
    wrote on last edited by
    #66

    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!

    1 Reply Last reply
    0
    • Y Offline
      Y Offline
      YDYD
      wrote on last edited by
      #67

      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 protocol

      I 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.

      1 Reply Last reply
      0
      • Y Offline
        Y Offline
        YDYD
        wrote on last edited by
        #68

        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 &> output

        This part i could not go through.. any advise?????

        URGENT!! PLEASE HELP, thank you very much

        1 Reply Last reply
        0
        • J Offline
          J Offline
          JvdGlind
          wrote on last edited by
          #69

          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.

          Jeffrey VAN DE GLIND
          Principle Consultant @ Nalys
          www.nalys-group.com

          1 Reply Last reply
          0
          • Y Offline
            Y Offline
            YDYD
            wrote on last edited by
            #70

            Hi JvdGlind,

            Thanks for your reply, going to take a look now =)

            1 Reply Last reply
            0
            • Y Offline
              Y Offline
              YDYD
              wrote on last edited by
              #71

              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.

              1 Reply Last reply
              0
              • J Offline
                J Offline
                JvdGlind
                wrote on last edited by
                #72

                The website shows how to cross-compile from Linux on a PC to a Raspberry Pi. The host workstation is Linux on the PC you are compiling on.

                Jeffrey VAN DE GLIND
                Principle Consultant @ Nalys
                www.nalys-group.com

                1 Reply Last reply
                0
                • Y Offline
                  Y Offline
                  YDYD
                  wrote on last edited by
                  #73

                  I was just plugin keyboard and mouse and a SD card to use my raspi

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    Jaeheon Chung
                    wrote on last edited by
                    #74

                    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 &> output

                    Should I use option linux-rasp-pi-g++ ?

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      Sebbo
                      wrote on last edited by
                      #75

                      Same here. Didn't find a solution yet.
                      Maybe we'll find some help out there :)

                      1 Reply Last reply
                      0
                      • L Offline
                        L Offline
                        LongChair
                        wrote on last edited by
                        #76

                        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.

                        1 Reply Last reply
                        0
                        • E Offline
                          E Offline
                          EricZ89
                          wrote on last edited by
                          #77

                          .

                          1 Reply Last reply
                          0
                          • E Offline
                            E Offline
                            EricZ89
                            wrote on last edited by
                            #78

                            .

                            1 Reply Last reply
                            0
                            • M Offline
                              M Offline
                              mrelcee
                              wrote on last edited by
                              #79

                              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..

                              1 Reply Last reply
                              0
                              • M Offline
                                M Offline
                                mrelcee
                                wrote on last edited by
                                #80

                                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..

                                H 1 Reply Last reply
                                0
                                • N Offline
                                  N Offline
                                  noormanman
                                  wrote on last edited by
                                  #81

                                  Succes on a Raspberry Pi 2
                                  It took me about 4 hours to configure and compile :)

                                  I did change the following: after ./configure and i changed "&> output" to "2>&1 | tee output", this way you can see that something happens

                                  Same with make and I added the -j 4 option to use more processor cores:
                                  make –j 4 2>&1 | tee make_output

                                  Total configure/build time: 4 hours. The cube application works, but I did not yet manage to make an xwindow application..

                                  1 Reply Last reply
                                  0
                                  • N Offline
                                    N Offline
                                    noormanman
                                    wrote on last edited by
                                    #82

                                    Succes on a Raspberry Pi 2
                                    It took me about 4 hours to configure and compile :)

                                    I did change the following: after ./configure and i changed "&> output" to "2>&1 | tee output", this way you can see that something happens

                                    Same with make and I added the -j 4 option to use more processor cores:
                                    make –j 4 2>&1 | tee make_output

                                    Total configure/build time: 4 hours. The cube application works, but I did not yet manage to make an xwindow application..

                                    1 Reply Last reply
                                    0
                                    • M mrelcee

                                      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..

                                      H Offline
                                      H Offline
                                      happycat
                                      wrote on last edited by
                                      #83

                                      @mrelcee
                                      Thanks, after spending a good part of 2 weeks on a version incompatiblilty problem, I finally found this post, downloaded, and installed the .deb file. I am now able to continue porting an application originally written for a Fedora 19 platform.

                                      50+ years, a Programmer, Designer, & Manager
                                      From Philco 2000 to Raspberry Pi processors.
                                      From Measurement and Control to Data Base applications.
                                      Happycat

                                      1 Reply Last reply
                                      0
                                      • RonLR Offline
                                        RonLR Offline
                                        RonL
                                        wrote on last edited by RonL
                                        #84

                                        Hi,
                                        This stuff is so frustrating for me. I guess I'm out of my league on this stuff.
                                        At any rate , I downloaded and installed the .deb file in this post. That appears to work fine.
                                        Now when I start Qt via a .pro file and attempt to configure Qt versions under build and run I QT reports this:
                                        "The default mkspec syncline is broken". This is after I point "qmake location" to
                                        /usr/local/qt5/bin/qmake.

                                        The QT creator version is 2.5.0

                                        What am I doing wrong?

                                        Thanks,
                                        Ron

                                        73
                                        Ron / W4MMP

                                        M 1 Reply Last reply
                                        0
                                        • M Offline
                                          M Offline
                                          mrz28s
                                          wrote on last edited by
                                          #85
                                          This post is deleted!
                                          1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved