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.
  • ssdroon30S Offline
    ssdroon30S Offline
    ssdroon30
    wrote on 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!

    sierdzioS 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on 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
      • ssdroon30S ssdroon30

        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!

        sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by sierdzio
        #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
        • ssdroon30S Offline
          ssdroon30S Offline
          ssdroon30
          wrote on 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
          • sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #5

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

            (Z(:^

            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