Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Native Build of Qt 5.4.1 on a Raspberry Pi
Forum Update on Monday, May 27th 2025

Native Build of Qt 5.4.1 on a Raspberry Pi

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
9 Posts 3 Posters 747 Views
  • 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.
  • M Offline
    M Offline
    MihaiJunior
    wrote on 11 Aug 2019, 18:48 last edited by
    #1

    Hi guys, one small question. On this link: https://wiki.qt.io/Native_Build_of_Qt_5.4.1_on_a_Raspberry_Pi
    at the Preparation part is says to :
    the Qt binaries should be installed to /usr/local/qt5
    How exactly I have to do that so it will work properly. I mean from where and how I have to install the binaries? ( I'm new to Qt and raspberry )

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 11 Aug 2019, 19:39 last edited by
      #2

      Hi,

      That's the ˋ-prefixˋ parameter for the configure command line.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MihaiJunior
        wrote on 11 Aug 2019, 22:18 last edited by MihaiJunior 8 Nov 2019, 22:21
        #3

        I don't understand, can you tell me how to install the Qt binaries? I know that /usr/local/qt5 is the destination where to install Qt Binaries but what I have to write before this ? What is the full command or commands ?

        P 1 Reply Last reply 12 Aug 2019, 18:56
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 12 Aug 2019, 18:44 last edited by
          #4

          Did you forgot to call "make install" after the build is done ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • M MihaiJunior
            11 Aug 2019, 22:18

            I don't understand, can you tell me how to install the Qt binaries? I know that /usr/local/qt5 is the destination where to install Qt Binaries but what I have to write before this ? What is the full command or commands ?

            P Offline
            P Offline
            Pablo J. Rogina
            wrote on 12 Aug 2019, 18:56 last edited by
            #5

            @mihaijunior

            the Qt binaries should be installed to /usr/local/qt5

            I guess it could be read as follows:

            the Qt binaries will be installed into folder /usr/local/qt5

            So once all the procedure is done, your native build of Qt will be available at /usr/local/qt5 in your RPi device

            What is the full command or commands ?

            Have you already follow all the steps from that guide?

            Upvote the answer(s) that helped you solve the issue
            Use "Topic Tools" button to mark your post as Solved
            Add screenshots via postimage.org
            Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

            1 Reply Last reply
            1
            • M Offline
              M Offline
              MihaiJunior
              wrote on 13 Aug 2019, 08:34 last edited by
              #6

              @Pablo-J-Rogina , after some time I understand that it could be read as you said. Now I have another problem regardin with the command:
              sudo apt-get install libfontconfig1-dev libdbus-1-dev libfreetype6-dev libudev-dev libicu-dev
              libsqlite3-dev libxslt1-dev libssl-dev libasound2-dev libavcodec-dev libavformat-dev libswscale-dev
              libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev gstreamer-tools gstreamer0.10-plugins-good
              gstreamer0.10-plugins-bad libraspberrypi-dev libpulse-dev libx11-dev libglib2.0-dev libcups2-dev
              freetds-dev libsqlite0-dev libpq-dev libiodbc2-dev libmysqlclient-dev firebird-dev libpng12-dev
              libjpeg62-dev libgst-dev libxext-dev libxcb1 libxcb1-dev libx11-xcb1 libx11-xcb-dev libxcb-keysyms1
              libxcb-keysyms1-dev libxcb-image0 libxcb-image0-dev libxcb-shm0 libxcb-shm0-dev libxcb-icccm4
              libxcb-icccm4-dev libxcb-sync0 libxcb-sync0-dev libxcb-render-util0 libxcb-render-util0-dev
              libxcb-xfixes0-dev libxrender-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-glx0-dev libxi-dev
              libdrm-dev flex ruby gperf bison libts-dev

              I made the changes they said there and i get the following errors:

              E: Package 'gstreamer0.10-plugins-bad' has no installation candidate
              E: Package 'libmysqlclient-dev' has no installation candidate
              and also something abot libfrontconfig1-dev that it can't be localized.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                MihaiJunior
                wrote on 13 Aug 2019, 10:03 last edited by
                #7

                @SGaist , any idea to help me with the message above?

                P 1 Reply Last reply 13 Aug 2019, 13:24
                0
                • M MihaiJunior
                  13 Aug 2019, 10:03

                  @SGaist , any idea to help me with the message above?

                  P Offline
                  P Offline
                  Pablo J. Rogina
                  wrote on 13 Aug 2019, 13:24 last edited by
                  #8

                  @mihaijunior could you state the RPi model and OS version you have?

                  Upvote the answer(s) that helped you solve the issue
                  Use "Topic Tools" button to mark your post as Solved
                  Add screenshots via postimage.org
                  Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                  M 1 Reply Last reply 14 Aug 2019, 17:40
                  0
                  • P Pablo J. Rogina
                    13 Aug 2019, 13:24

                    @mihaijunior could you state the RPi model and OS version you have?

                    M Offline
                    M Offline
                    MihaiJunior
                    wrote on 14 Aug 2019, 17:40 last edited by
                    #9

                    @pablo-j-rogina , RPi 2, i just passed that problem and I have another one. After sudo make install
                    I get multimple Makefile recipe for target '...' failed, what could be the problem?

                    1 Reply Last reply
                    0

                    1/9

                    11 Aug 2019, 18:48

                    • Login

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