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. Problems about Native build Qt5.7 on raspberry pi3
Forum Updated to NodeBB v4.3 + New Features

Problems about Native build Qt5.7 on raspberry pi3

Scheduled Pinned Locked Moved Mobile and Embedded
56 Posts 3 Posters 24.7k 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.
  • jsulmJ jsulm

    @JiujiuTong Try with -device linux-rasp-pi2-g++
    See https://forum.qt.io/topic/68016/rpi3-device-missing/2

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

    @jsulm
    an interesting thing is that i following the steps:
    http://wiki.qt.io/Native_Build_of_Qt5_on_a_Raspberry_Pi
    it is ok now , the problem is that source code for git is same with the release code ?
    can i use it for programming ?

    jsulmJ 1 Reply Last reply
    0
    • J JiujiuTong

      @jsulm
      an interesting thing is that i following the steps:
      http://wiki.qt.io/Native_Build_of_Qt5_on_a_Raspberry_Pi
      it is ok now , the problem is that source code for git is same with the release code ?
      can i use it for programming ?

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

      @JiujiuTong It depends which branch/tag from Git you use. For each release there is a branch.

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

      J 1 Reply Last reply
      0
      • jsulmJ jsulm

        @JiujiuTong It depends which branch/tag from Git you use. For each release there is a branch.

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

        @jsulm
        qt5.7
        but the installation process is so quick, it only takes few minutes , so i don't think it is completed

        jsulmJ 1 Reply Last reply
        0
        • J JiujiuTong

          @jsulm
          qt5.7
          but the installation process is so quick, it only takes few minutes , so i don't think it is completed

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

          @JiujiuTong What do you mean by "installation process"? The "release code" is what you can find in the release branch in Git.

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

          J 1 Reply Last reply
          0
          • jsulmJ jsulm

            @JiujiuTong What do you mean by "installation process"? The "release code" is what you can find in the release branch in Git.

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

            @jsulm
            i mean the "make install" process,
            it only takes more than two minutes
            is the branch code same with the code download from qt (e.g. qt-everywhere-opensource-src-5.7.1.tar.gz)?

            jsulmJ 1 Reply Last reply
            0
            • J JiujiuTong

              @jsulm
              i mean the "make install" process,
              it only takes more than two minutes
              is the branch code same with the code download from qt (e.g. qt-everywhere-opensource-src-5.7.1.tar.gz)?

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

              @JiujiuTong "make install" shouldn't take long, "make" takes long

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

              J 1 Reply Last reply
              0
              • jsulmJ jsulm

                @JiujiuTong "make install" shouldn't take long, "make" takes long

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

                @jsulm
                the "make" process only take more than 2 minutes too, the configure process is very long about 7 hours ... no error information

                jsulmJ 1 Reply Last reply
                0
                • J JiujiuTong

                  @jsulm
                  the "make" process only take more than 2 minutes too, the configure process is very long about 7 hours ... no error information

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

                  @JiujiuTong configure takes 7 hours? And make only 2 minutes?! You're doing something wrong. Are you sure make step was successful?

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

                  J 2 Replies Last reply
                  0
                  • jsulmJ jsulm

                    @JiujiuTong configure takes 7 hours? And make only 2 minutes?! You're doing something wrong. Are you sure make step was successful?

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

                    @jsulm
                    yes, many make output: nothing to be done for "first"
                    no error infors
                    the interesting thing is:
                    the configure output summary :
                    building on : linux-g++ (arm ,cpu features: none detected)
                    building for :devices/linux-rpi3-g++ (arm, cpu features: neon)
                    so i thing -device linux-rpi3-g++ option is correct,
                    the steps on http://wiki.qt.io/Native_Build_of_Qt_5.4.1_on_a_Raspberry_Pi
                    may have missing some critical steps or my ENV is not right

                    J 1 Reply Last reply
                    0
                    • J JiujiuTong

                      @jsulm
                      yes, many make output: nothing to be done for "first"
                      no error infors
                      the interesting thing is:
                      the configure output summary :
                      building on : linux-g++ (arm ,cpu features: none detected)
                      building for :devices/linux-rpi3-g++ (arm, cpu features: neon)
                      so i thing -device linux-rpi3-g++ option is correct,
                      the steps on http://wiki.qt.io/Native_Build_of_Qt_5.4.1_on_a_Raspberry_Pi
                      may have missing some critical steps or my ENV is not right

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

                      @JiujiuTong said in Problems about Native build Qt5.7 on raspberry pi3:

                      @jsulm
                      yes, many make output: nothing to be done for "first"
                      no error infors
                      the interesting thing is:
                      the configure output summary :
                      building on : linux-g++ (arm ,cpu features: none detected)
                      building for :devices/linux-rpi3-g++ (arm, cpu features: neon)
                      so i thing -device linux-rpi3-g++ option is correct,
                      the steps on http://wiki.qt.io/Native_Build_of_Qt_5.4.1_on_a_Raspberry_Pi
                      may have missing some critical steps or my ENV is not right

                      seems everything is fine , finish install with linux-rasp-pi2-g++
                      i will double confirm it @jsulm

                      J 1 Reply Last reply
                      0
                      • J JiujiuTong

                        @JiujiuTong said in Problems about Native build Qt5.7 on raspberry pi3:

                        @jsulm
                        yes, many make output: nothing to be done for "first"
                        no error infors
                        the interesting thing is:
                        the configure output summary :
                        building on : linux-g++ (arm ,cpu features: none detected)
                        building for :devices/linux-rpi3-g++ (arm, cpu features: neon)
                        so i thing -device linux-rpi3-g++ option is correct,
                        the steps on http://wiki.qt.io/Native_Build_of_Qt_5.4.1_on_a_Raspberry_Pi
                        may have missing some critical steps or my ENV is not right

                        seems everything is fine , finish install with linux-rasp-pi2-g++
                        i will double confirm it @jsulm

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

                        @JiujiuTong said in Problems about Native build Qt5.7 on raspberry pi3:

                        @JiujiuTong said in Problems about Native build Qt5.7 on raspberry pi3:

                        @jsulm
                        yes, many make output: nothing to be done for "first"
                        no error infors
                        the interesting thing is:
                        the configure output summary :
                        building on : linux-g++ (arm ,cpu features: none detected)
                        building for :devices/linux-rpi3-g++ (arm, cpu features: neon)
                        so i thing -device linux-rpi3-g++ option is correct,
                        the steps on http://wiki.qt.io/Native_Build_of_Qt_5.4.1_on_a_Raspberry_Pi
                        may have missing some critical steps or my ENV is not right

                        seems everything is fine , finish install with linux-rasp-pi2-g++
                        i will double confirm it @jsulm

                        I finish the installation with -skip webengine option,
                        then later, i want to install qt-creator 4.2, i need to run qmake -r , it promps that unknown module, in the README, it seems require webengine module.should i reinstall without -skip webengine ? or the best way should be cross compiler... @jsulm

                        1 Reply Last reply
                        0
                        • jsulmJ jsulm

                          @JiujiuTong configure takes 7 hours? And make only 2 minutes?! You're doing something wrong. Are you sure make step was successful?

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

                          @jsulm
                          i finished the installation, how to know it is built successfully,
                          i have install qt-creator(qt5.3.2), i remove it and link the /usr/bin/qmake to the /usr/local/qt5/bin/qmake,
                          current qmake -v show the correct version info.
                          how to know the qt5.7 is correct installed on rp3? thank you !

                          jsulmJ 1 Reply Last reply
                          0
                          • J JiujiuTong

                            @jsulm
                            i finished the installation, how to know it is built successfully,
                            i have install qt-creator(qt5.3.2), i remove it and link the /usr/bin/qmake to the /usr/local/qt5/bin/qmake,
                            current qmake -v show the correct version info.
                            how to know the qt5.7 is correct installed on rp3? thank you !

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

                            @JiujiuTong Where did you install it, /usr/local/qt5? You should have qmake and Qt libs there. Try to use your Qt to build a project.
                            You should not link /usr/bin/qmake to /usr/local/qt5/bin/qmake! In QtCreator you can add your Qt version selecting its qmake.

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

                            J 1 Reply Last reply
                            0
                            • jsulmJ jsulm

                              @JiujiuTong Where did you install it, /usr/local/qt5? You should have qmake and Qt libs there. Try to use your Qt to build a project.
                              You should not link /usr/bin/qmake to /usr/local/qt5/bin/qmake! In QtCreator you can add your Qt version selecting its qmake.

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

                              @jsulm
                              i can not install qtcreator directly on rpi3

                              jsulmJ 1 Reply Last reply
                              0
                              • J JiujiuTong

                                @jsulm
                                i can not install qtcreator directly on rpi3

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

                                @JiujiuTong You can build an app without qtcreator:

                                /usr/local/qt5/bin/qmake
                                make
                                

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

                                J 1 Reply Last reply
                                0
                                • jsulmJ jsulm

                                  @JiujiuTong You can build an app without qtcreator:

                                  /usr/local/qt5/bin/qmake
                                  make
                                  
                                  J Offline
                                  J Offline
                                  JiujiuTong
                                  wrote on last edited by
                                  #56

                                  @jsulm
                                  ok it's installed properly,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