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. Installing Qt on RasspeyPi?
Forum Updated to NodeBB v4.3 + New Features

Installing Qt on RasspeyPi?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
19 Posts 3 Posters 792 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.
  • M Offline
    M Offline
    Mucip
    wrote on 21 Apr 2025, 19:04 last edited by
    #10

    Hi,
    I used many times QT in RP. But It was not difficult as now unfortunately.
    I installed QtCreator and open. I created very basic project but could not run even?!
    Message:
    :-1: error: Cannot run compiler 'clang++'. Output:

    Regards,
    Mucip:)

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 21 Apr 2025, 19:06 last edited by
      #11

      Did you install the build-essential package ?

      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
        Mucip
        wrote on 21 Apr 2025, 19:08 last edited by
        #12

        Hi,
        sudo apt install build-essential

        Already installed...

        Regards,
        Mucip)

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 21 Apr 2025, 19:09 last edited by
          #13

          Then since you seem to want to use clang for your build: install it as well,

          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
            Mucip
            wrote on 21 Apr 2025, 19:14 last edited by
            #14

            Hi,
            I could create program finally... :)

            But in any case I've got below messages;
            22:11:28: Starting /home/milbuga/Documents/Qt/build-untitled-Desktop-Debug/untitled...
            qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
            QStandardPaths: wrong permissions on runtime directory /run/user/1000, 0770 instead of 0700

            Regards,
            Mucip:)

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 21 Apr 2025, 19:15 last edited by
              #15

              Start your application with the QT_DEBUG_PLUGINS environment variable set to 1 to see exactly what is happening.

              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
                Mucip
                wrote on 21 Apr 2025, 19:18 last edited by
                #16

                Hi,
                Should I put
                QT_DEBUG_PLUGINS = 1

                in pro file?

                Regards,
                Mucip:)

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 21 Apr 2025, 19:27 last edited by
                  #17

                  No, it's an environnement variable.
                  In Qt Creator, go to the Run part of the Project panel and there you can add it to the list of environment variables.

                  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
                    Mucip
                    wrote on 21 Apr 2025, 19:34 last edited by
                    #18

                    Hi,
                    In this case there is many more errors. :)
                    I remove line again.

                    Regards,
                    Mucip:)

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      Mucip
                      wrote on 21 Apr 2025, 22:20 last edited by Mucip
                      #19

                      Hi,
                      As mentioned here below lines are solved my problem without adding environment variable.
                      sudo apt install libxcb-xinerama0
                      sudo apt install qt6-wayland
                      sudo apt install libxcb-xinerama0-dev
                      sudo apt install qt6-wayland-dev

                      Regards,
                      Mucip:)

                      1 Reply Last reply
                      0

                      19/19

                      21 Apr 2025, 22:20

                      • Login

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