Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. no compiler on raspberry when launch qtcreator directly
Qt 6.11 is out! See what's new in the release blog

no compiler on raspberry when launch qtcreator directly

Scheduled Pinned Locked Moved Solved Mobile and Embedded
8 Posts 2 Posters 2.6k Views 1 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.
  • J Offline
    J Offline
    JiujiuTong
    wrote on last edited by JiujiuTong
    #1

    yesterday, i try to install qt5 on rp3 , with command:
    apt-get install qt5-default(qt5.3.2)
    and apt-get install qtcreator (qtcreator 3.X).
    then i try to launch qtcreator directly on rp3, i find there is no complier suitable for qt5.3 when i try to configure the options,
    and the qtversion is :/usr/lib/arm-linux-gnueabihf/qt5/bin/qmake
    is there some thing wrong with my rpi3?
    or is the qt5-default just for cross compiler?

    jsulmJ 1 Reply Last reply
    0
    • J JiujiuTong

      yesterday, i try to install qt5 on rp3 , with command:
      apt-get install qt5-default(qt5.3.2)
      and apt-get install qtcreator (qtcreator 3.X).
      then i try to launch qtcreator directly on rp3, i find there is no complier suitable for qt5.3 when i try to configure the options,
      and the qtversion is :/usr/lib/arm-linux-gnueabihf/qt5/bin/qmake
      is there some thing wrong with my rpi3?
      or is the qt5-default just for cross compiler?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @JiujiuTong You did not install C++ compiler (g++).
      qt5-default only install Qt not the C++ compiler.
      On Ubuntu you can just install build-essential package, not sure Debian provides it. If not install g++ package.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      J 1 Reply Last reply
      0
      • jsulmJ jsulm

        @JiujiuTong You did not install C++ compiler (g++).
        qt5-default only install Qt not the C++ compiler.
        On Ubuntu you can just install build-essential package, not sure Debian provides it. If not install g++ package.

        J Offline
        J Offline
        JiujiuTong
        wrote on last edited by JiujiuTong
        #3

        @jsulm
        but i remember i can find g++ in /usr/bin/ on my raspberry, anyway, i will check it again.
        thank you!
        another question :
        from https://wiki.qt.io/RaspberryPi2EGLFS.
        there is a tool download from "git clone https://github.com/raspberrypi/tools" .
        what is the difference about provide by host's "g++" and "tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++" (describe in Qt Creator part)?

        jsulmJ 1 Reply Last reply
        0
        • J JiujiuTong

          @jsulm
          but i remember i can find g++ in /usr/bin/ on my raspberry, anyway, i will check it again.
          thank you!
          another question :
          from https://wiki.qt.io/RaspberryPi2EGLFS.
          there is a tool download from "git clone https://github.com/raspberrypi/tools" .
          what is the difference about provide by host's "g++" and "tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++" (describe in Qt Creator part)?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @JiujiuTong If the compiler is there then in QtCreator go to "Tools/Options.../Compilers" and add the compiler there.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          J 1 Reply Last reply
          0
          • jsulmJ jsulm

            @JiujiuTong If the compiler is there then in QtCreator go to "Tools/Options.../Compilers" and add the compiler there.

            J Offline
            J Offline
            JiujiuTong
            wrote on last edited by JiujiuTong
            #5

            @jsulm
            but still warns with on complier... ,so I'm confused
            another question :
            from https://wiki.qt.io/RaspberryPi2EGLFS.
            there is a tool download from "git clone https://github.com/raspberrypi/tools" .
            what is the difference about provide by host's "g++" and "tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++" (describe in Qt Creator part)?

            jsulmJ 2 Replies Last reply
            0
            • J JiujiuTong

              @jsulm
              but still warns with on complier... ,so I'm confused
              another question :
              from https://wiki.qt.io/RaspberryPi2EGLFS.
              there is a tool download from "git clone https://github.com/raspberrypi/tools" .
              what is the difference about provide by host's "g++" and "tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++" (describe in Qt Creator part)?

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @JiujiuTong Does the compiler work? You can try to build a simple C++ app manually:

              g++ -o testapp testapp.cpp
              

              Did you add it manually?
              If so then check your kit: "Tools/Options.../Kits" - there you need to select the compiler.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              J 1 Reply Last reply
              0
              • J JiujiuTong

                @jsulm
                but still warns with on complier... ,so I'm confused
                another question :
                from https://wiki.qt.io/RaspberryPi2EGLFS.
                there is a tool download from "git clone https://github.com/raspberrypi/tools" .
                what is the difference about provide by host's "g++" and "tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++" (describe in Qt Creator part)?

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @JiujiuTong I think tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++ is for the host to cross compile.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                1
                • jsulmJ jsulm

                  @JiujiuTong Does the compiler work? You can try to build a simple C++ app manually:

                  g++ -o testapp testapp.cpp
                  

                  Did you add it manually?
                  If so then check your kit: "Tools/Options.../Kits" - there you need to select the compiler.

                  J Offline
                  J Offline
                  JiujiuTong
                  wrote on last edited by JiujiuTong
                  #8

                  @jsulm
                  yes, i try to add the g++ manully, but when i try to add the complier in kits tab, it failed as the qtcreator warns no compiler for the qtversion.
                  i may need to test the g++,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