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. QT installation failed on arm71
Qt 6.11 is out! See what's new in the release blog

QT installation failed on arm71

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
22 Posts 4 Posters 7.2k Views 3 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #11

    Did you run ldd on your target ?
    In any case, did you install your cross-compiler Qt on your target ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    F 1 Reply Last reply
    0
    • SGaistS SGaist

      Did you run ldd on your target ?
      In any case, did you install your cross-compiler Qt on your target ?

      F Offline
      F Offline
      FRKhan
      wrote on last edited by
      #12

      @SGaist

      @SGaist said in QT installation failed on arm71:

      Did you run ldd on your target ?

      Yes. here is the output

      analog@analog:~$ ldd NewProj
      libQtGui.so.4 => /usr/local/Qt-4.8.7-arm/lib/libQtGui.so.4 (0xb682d000)
      libQtNetwork.so.4 => /usr/local/Qt-4.8.7-arm/lib/libQtNetwork.so.4 (0xb6773000)
      libQtCore.so.4 => /usr/local/Qt-4.8.7-arm/lib/libQtCore.so.4 (0xb64ea000)
      libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb64b2000)
      libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb6407000)
      libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb639b000)
      libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb6379000)
      libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6292000)
      libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb6287000)
      librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xb6279000)
      /lib/ld-linux-armhf.so.3 (0x7f5d1000)
      

      @SGaist said in QT installation failed on arm71:

      In any case, did you install your cross-compiler Qt on your target ?

      I cross compiled Qt4.8.7 and installed in /usr/local/qt on my host PC. I then copied the /usr/local/qt folder in my target at /usr/local/qt-arm

      Pablo J. RoginaP 1 Reply Last reply
      0
      • F FRKhan

        @SGaist

        @SGaist said in QT installation failed on arm71:

        Did you run ldd on your target ?

        Yes. here is the output

        analog@analog:~$ ldd NewProj
        libQtGui.so.4 => /usr/local/Qt-4.8.7-arm/lib/libQtGui.so.4 (0xb682d000)
        libQtNetwork.so.4 => /usr/local/Qt-4.8.7-arm/lib/libQtNetwork.so.4 (0xb6773000)
        libQtCore.so.4 => /usr/local/Qt-4.8.7-arm/lib/libQtCore.so.4 (0xb64ea000)
        libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb64b2000)
        libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb6407000)
        libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb639b000)
        libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb6379000)
        libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6292000)
        libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb6287000)
        librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xb6279000)
        /lib/ld-linux-armhf.so.3 (0x7f5d1000)
        

        @SGaist said in QT installation failed on arm71:

        In any case, did you install your cross-compiler Qt on your target ?

        I cross compiled Qt4.8.7 and installed in /usr/local/qt on my host PC. I then copied the /usr/local/qt folder in my target at /usr/local/qt-arm

        Pablo J. RoginaP Offline
        Pablo J. RoginaP Offline
        Pablo J. Rogina
        wrote on last edited by
        #13

        @FRKhan said in QT installation failed on arm71:

        in my target at /usr/local/qt-arm

        If there's no typo, something is not matching since ldd is showing Qt libraries are taken from another folder: /usr/local/Qt-4.8.7-arm/lib so it seems you have another installation of Qt in your device...

        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

        F 1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #14

          One thing to do: copy the Qt installation folder in the exact same subdirectory on your target than on your 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
          • Pablo J. RoginaP Pablo J. Rogina

            @FRKhan said in QT installation failed on arm71:

            in my target at /usr/local/qt-arm

            If there's no typo, something is not matching since ldd is showing Qt libraries are taken from another folder: /usr/local/Qt-4.8.7-arm/lib so it seems you have another installation of Qt in your device...

            F Offline
            F Offline
            FRKhan
            wrote on last edited by
            #15

            Thank you guys for your time.

            @Pablo-J-Rogina said in QT installation failed on arm71:

            If there's no typo, something is not matching since ldd is showing Qt libraries are taken from another folder: /usr/local/Qt-4.8.7-arm/lib so it seems you have another installation of Qt in your device...

            yes that was typo. It is /usr/local/Qt-4.8.7-arm

            @SGaist said in QT installation failed on arm71:

            One thing to do: copy the Qt installation folder in the exact same subdirectory on your target than on your desktop machine.

            I did it. deployed application but nothing appeared. not even any error. I found this thread. I open console terminal (CNTRL+ALT+F1) and my application executed successfully. I did not enabled virtual frame buffer or vnc while configuring qt sources.

            Although i somehow executed application on my target but i didn't understand one thing. How qt application executes on host system when compiled using host kit? i mean why that doesn't depends upon virtual framebuffer on vnc?
            Secondly, Qt virtual buffer documentation says we should not use it on release application but on debug applications only. If this is true the what is the most optimized approach to deploy the qt application on production release?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #16

              If you are building with your host kit then it's going to use your host infrastructure. Likely the XCB backend.

              The virtual framebuffer is a tool that allows you to visualise your application the way it would be on your target without the need to have it available.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              F 1 Reply Last reply
              0
              • SGaistS SGaist

                If you are building with your host kit then it's going to use your host infrastructure. Likely the XCB backend.

                The virtual framebuffer is a tool that allows you to visualise your application the way it would be on your target without the need to have it available.

                F Offline
                F Offline
                FRKhan
                wrote on last edited by
                #17

                @SGaist Thank you

                @SGaist said in QT installation failed on arm71:

                The virtual framebuffer is a tool that allows you to visualise your application the way it would be on your target without the need to have it available.

                Ok. than what is the best way to deploy the application. My target board is running XUnuntu. When i deploy my application, it appears in destined folder when does not run until i go to console terminal. I have to do (CNTRL+ALT+F1) and run ./app -qws.

                what i want is, when i double click on my application executable, it should launch. Like built-in calculator. When i click on calculator icon, it's window appears. is it possible for qt application?

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #18

                  Do you have a window manager on your target ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  F 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Do you have a window manager on your target ?

                    F Offline
                    F Offline
                    FRKhan
                    wrote on last edited by
                    #19

                    @SGaist
                    yes. My target is Picozed SDR board which is running Xubuntu with HDMI display. It has Xfce desktop environment. We can install other tools as well. It has most of the desktop environment available.

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #20

                      Then why are you using a Qt version built for embedded without window manager ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      F 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        Then why are you using a Qt version built for embedded without window manager ?

                        F Offline
                        F Offline
                        FRKhan
                        wrote on last edited by
                        #21

                        @SGaist I have not figured out what version is suitable for me. I'm beginner in QT. I had no idea about this window manager thing. Can you please guide me. Any useful material or link?

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #22

                          Well, since you want to use your desktop environnement on your target. Just don't pass the embedded option when configuring Qt. You'll have a standard desktop Qt but built for ARM.

                          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
                          2

                          • Login

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