Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to install Qt5 on Raspbian (Raspberry PI 3 Model B)
Forum Updated to NodeBB v4.3 + New Features

How to install Qt5 on Raspbian (Raspberry PI 3 Model B)

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 1.4k 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.
  • S Offline
    S Offline
    ssdroon30
    wrote on 30 Sept 2020, 13:38 last edited by
    #1

    Hello everyone!

    How to compile and install the latest version of QT5 on Raspberry PI 3 Model B?
    Do you know a good description?
    I want to install all directories.
    Do you think it fits on a 32GB SD card?

    Thanks in advance for the answers!

    S 1 Reply Last reply 30 Sept 2020, 18:34
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 30 Sept 2020, 18:32 last edited by
      #2

      Hi,

      If you mean natively compile Qt on your Pi, then you can follow the same guides as for a desktop machine.

      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
      • S ssdroon30
        30 Sept 2020, 13:38

        Hello everyone!

        How to compile and install the latest version of QT5 on Raspberry PI 3 Model B?
        Do you know a good description?
        I want to install all directories.
        Do you think it fits on a 32GB SD card?

        Thanks in advance for the answers!

        S Offline
        S Offline
        sierdzio
        Moderators
        wrote on 30 Sept 2020, 18:34 last edited by sierdzio 10 Jan 2020, 05:57
        #3

        @ssdroon30 said in How to install Qt5 on Raspbian (Raspberry PI 3 Model B):

        Do you think it fits on a 32GB SD card?

        Yes, Qt installation takes less than 1GB. That's for installed Qt, without all the build files and sources. If you do a cross-compilation or out-of-source native build you should be perfectly fine with 32GB SD card (or even smaller).

        Do you know a good description?

        Not a recent one, unfortunately. I haven't compiled Qt for RPi for about 2 years now.

        This guide used to be good: link but I don't know if it still is. One side effect of both RPi and Qt constantly evolving is that things frequently break - and often after RPi update or Qt upgrade it takes some fixing and trial-and-error to get things to work again.

        Current version of Raspberry Pi OS comes with Qt 5.11.3 pre-installed, by the way. If that's recent enough for you, perhaps it's a good idea to just go with that.

        (Z(:^

        1 Reply Last reply
        0
        • S Offline
          S Offline
          ssdroon30
          wrote on 1 Oct 2020, 02:17 last edited by
          #4

          Thanks! I don’t actually need all the librarys, especially the QTextToSpeech library. Can this library be compiled, and installed separately?

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sierdzio
            Moderators
            wrote on 1 Oct 2020, 06:02 last edited by
            #5

            If you have Qt configured you can later compile further modules, yes.

            (Z(:^

            1 Reply Last reply
            0

            1/5

            30 Sept 2020, 13:38

            • Login

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