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. QT Creator on raspberry pi4 (4GB RAM).

QT Creator on raspberry pi4 (4GB RAM).

Scheduled Pinned Locked Moved Solved QtonPi
6 Posts 5 Posters 12.6k 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.
  • P Offline
    P Offline
    pirates21
    wrote on 11 Aug 2019, 10:10 last edited by pirates21 8 Nov 2019, 10:10
    #1

    I would like to install QT Creator on raspberry pi4 (4GB RAM). I don't want to do kross-compiler . How to do it with all possible modules such as qtwebenginewidgets, charts, multimedia widgets etc. Do you have any instructions?
    Best regards,
    Sebastian

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 11 Aug 2019, 11:52 last edited by
      #2

      Hi
      Unless you can find a Qt version already compiled for pi4
      then you will have to make a Qt version that
      runs on it.
      I think the debian stretch comes with older version.
      There are many tutorial on the net building Qt for Pi boards

      https://www.tal.org/tutorials/building-qt-512-raspberry-pi

      Pay attention to the eglfs X11 and/or Wayland options.

      You most likely want to use X11 since it sounds like you have a
      Desktop linux running on it.

      However, be prepared to use time on it. Its not super trivial.

      Also, it seems in Buster
      the https://www.raspberrypi.org/forums/viewtopic.php?t=244984
      it comes with Qt 5.11
      so maybe thats enough for you ?

      1 Reply Last reply
      4
      • D Offline
        D Offline
        David_001
        wrote on 11 Aug 2019, 17:15 last edited by David_001 8 Nov 2019, 17:23
        #3

        you can download it from packages

        sudo apt-get install qml-module* (what ever module you need)
        sudo apt-get install qt5-declarative qtcreator qt5-default or qt5base*
        

        (i do not know exact packages names, just pres tab to check if it is available)

        on raspberry 3 it was necessary to activate OpenGL EGLFS to use qml but since raspberry 4 can use opengl es 3.0 you do not need to compile on your own to use qml

        1 Reply Last reply
        2
        • P Offline
          P Offline
          pirates21
          wrote on 13 Aug 2019, 14:20 last edited by
          #4

          Thank you for your answers, especially David_001. Your suggestions allowed me to start stream from camera via QtMultimedia.

          0_1565706014836_67950518_723148948130715_6397323155685244928_n.jpg

          P S 2 Replies Last reply 13 Aug 2019, 16:29
          3
          • P pirates21
            13 Aug 2019, 14:20

            Thank you for your answers, especially David_001. Your suggestions allowed me to start stream from camera via QtMultimedia.

            0_1565706014836_67950518_723148948130715_6397323155685244928_n.jpg

            P Offline
            P Offline
            Pablo J. Rogina
            wrote on 13 Aug 2019, 16:29 last edited by
            #5

            @pirates21 if your issue is solved, please don't forget to mark your post as such! Thanks.

            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
            2
            • P pirates21
              13 Aug 2019, 14:20

              Thank you for your answers, especially David_001. Your suggestions allowed me to start stream from camera via QtMultimedia.

              0_1565706014836_67950518_723148948130715_6397323155685244928_n.jpg

              S Offline
              S Offline
              sine
              wrote on 14 Nov 2019, 00:42 last edited by
              #6

              @pirates21 how have you done it , could you share the steps ? i am thinking about to get a RPi 4 and do what you have done as well , especially the multimedia part , any hacky steps involved to use it on RPi 4 ?
              thank you .

              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