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. Qt-5.5.1 cross-compile for ARM

Qt-5.5.1 cross-compile for ARM

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
18 Posts 6 Posters 6.4k 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.
  • D DivyaMuthyala

    Hi,

    I have done what you have said, still I am facing same issue.

    A Offline
    A Offline
    ambershark
    wrote on last edited by
    #8

    @DivyaMuthyala Can you post the full build log or at least the part with the errors... That mangling thing is usually just a warning.

    My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DivyaMuthyala
      wrote on last edited by
      #9

      Hi,

      Now I am facing with following error:

      /u01/rootfs/usr/lib/libxcb-xkb.a: could not read symbols: File format not recognized
      co
      llect2: ld returned 1 exit status
      make[6]: *** [../../../../lib/libQt5XcbQpa.so.5.5.0] Error 1
      make[6]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase/src/plugins/platforms/xcb' make[5]: *** [sub-xcb_qpa_lib-pro-make_first-ordered] Error 2 make[5]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase/src/plugins/platforms/xcb'
      make[4]: *** [sub-xcb-make_first] Error 2
      make[4]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase/src/plugins/platforms' make[3]: *** [sub-platforms-make_first] Error 2 make[3]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase/src/plugins'
      make[2]: *** [sub-plugins-make_first] Error 2
      make[2]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase/src' make[1]: *** [sub-src-make_first] Error 2 make[1]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase'
      make: *** [module-qtbase-make_first] Error 2
      ******

      I am configuring by using following:

      *./configure -commercial -confirm-license -opengl es2 -device linux-imx6-g++ -device-option CROSS_COMPILE=/U02/tools/DOP/imx6/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-none-linux-gnueabi- -sysroot /u01/rootfs -no-gcc-sysroot -I/u01/rootfs/usr/include --hostprefix=/usr/local/Qt-5.5.0

      A jsulmJ A 3 Replies Last reply
      0
      • D DivyaMuthyala

        Hi,

        Now I am facing with following error:

        /u01/rootfs/usr/lib/libxcb-xkb.a: could not read symbols: File format not recognized
        co
        llect2: ld returned 1 exit status
        make[6]: *** [../../../../lib/libQt5XcbQpa.so.5.5.0] Error 1
        make[6]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase/src/plugins/platforms/xcb' make[5]: *** [sub-xcb_qpa_lib-pro-make_first-ordered] Error 2 make[5]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase/src/plugins/platforms/xcb'
        make[4]: *** [sub-xcb-make_first] Error 2
        make[4]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase/src/plugins/platforms' make[3]: *** [sub-platforms-make_first] Error 2 make[3]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase/src/plugins'
        make[2]: *** [sub-plugins-make_first] Error 2
        make[2]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase/src' make[1]: *** [sub-src-make_first] Error 2 make[1]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase'
        make: *** [module-qtbase-make_first] Error 2
        ******

        I am configuring by using following:

        *./configure -commercial -confirm-license -opengl es2 -device linux-imx6-g++ -device-option CROSS_COMPILE=/U02/tools/DOP/imx6/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-none-linux-gnueabi- -sysroot /u01/rootfs -no-gcc-sysroot -I/u01/rootfs/usr/include --hostprefix=/usr/local/Qt-5.5.0

        A Offline
        A Offline
        Andrey Shmelew
        wrote on last edited by
        #10

        @DivyaMuthyala

        what arm device do u use?

        1 Reply Last reply
        0
        • D Offline
          D Offline
          DivyaMuthyala
          wrote on last edited by
          #11

          Hi,

          We are using linux based IMx6 SoloLite board.

          1 Reply Last reply
          0
          • D DivyaMuthyala

            Hi,

            Now I am facing with following error:

            /u01/rootfs/usr/lib/libxcb-xkb.a: could not read symbols: File format not recognized
            co
            llect2: ld returned 1 exit status
            make[6]: *** [../../../../lib/libQt5XcbQpa.so.5.5.0] Error 1
            make[6]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase/src/plugins/platforms/xcb' make[5]: *** [sub-xcb_qpa_lib-pro-make_first-ordered] Error 2 make[5]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase/src/plugins/platforms/xcb'
            make[4]: *** [sub-xcb-make_first] Error 2
            make[4]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase/src/plugins/platforms' make[3]: *** [sub-platforms-make_first] Error 2 make[3]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase/src/plugins'
            make[2]: *** [sub-plugins-make_first] Error 2
            make[2]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase/src' make[1]: *** [sub-src-make_first] Error 2 make[1]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase'
            make: *** [module-qtbase-make_first] Error 2
            ******

            I am configuring by using following:

            *./configure -commercial -confirm-license -opengl es2 -device linux-imx6-g++ -device-option CROSS_COMPILE=/U02/tools/DOP/imx6/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-none-linux-gnueabi- -sysroot /u01/rootfs -no-gcc-sysroot -I/u01/rootfs/usr/include --hostprefix=/usr/local/Qt-5.5.0

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

            @DivyaMuthyala What does "file /u01/rootfs/usr/lib/libxcb-xkb.a" say?

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

            1 Reply Last reply
            1
            • D DivyaMuthyala

              Hi,

              Now I am facing with following error:

              /u01/rootfs/usr/lib/libxcb-xkb.a: could not read symbols: File format not recognized
              co
              llect2: ld returned 1 exit status
              make[6]: *** [../../../../lib/libQt5XcbQpa.so.5.5.0] Error 1
              make[6]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase/src/plugins/platforms/xcb' make[5]: *** [sub-xcb_qpa_lib-pro-make_first-ordered] Error 2 make[5]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase/src/plugins/platforms/xcb'
              make[4]: *** [sub-xcb-make_first] Error 2
              make[4]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase/src/plugins/platforms' make[3]: *** [sub-platforms-make_first] Error 2 make[3]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase/src/plugins'
              make[2]: *** [sub-plugins-make_first] Error 2
              make[2]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase/src' make[1]: *** [sub-src-make_first] Error 2 make[1]: Leaving directory /u01/Qt_src/forImx6/qt-everywhere-enterprise-src-5.5.0/qtbase'
              make: *** [module-qtbase-make_first] Error 2
              ******

              I am configuring by using following:

              *./configure -commercial -confirm-license -opengl es2 -device linux-imx6-g++ -device-option CROSS_COMPILE=/U02/tools/DOP/imx6/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-none-linux-gnueabi- -sysroot /u01/rootfs -no-gcc-sysroot -I/u01/rootfs/usr/include --hostprefix=/usr/local/Qt-5.5.0

              A Offline
              A Offline
              ambershark
              wrote on last edited by
              #13

              @DivyaMuthyala You are definitely mixing binaries. I was suspicious before but I'm positive now with that last error.

              I'll wait and see what your response with the output of the file command is.

              My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

              1 Reply Last reply
              1
              • D Offline
                D Offline
                DivyaMuthyala
                wrote on last edited by
                #14

                Hi,

                Thanks for your support.

                Now I am able to configure successfully,but now I am facing issue during compilation.
                When I am trying to compile sample application its throwing a following error.

                "fatal error: QApplication: No such file or directory"

                I am adding in .pro file QT +=widgets, but still I am facing issue.
                Can you please help me.
                Thanks in advance.

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

                  Did you re-run qmake after adding that ?

                  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
                  • D Offline
                    D Offline
                    DivyaMuthyala
                    wrote on last edited by
                    #16

                    Yes,I have run qmake and make

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

                      Are you sure you did install your custom Qt properly ?

                      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
                      • D Offline
                        D Offline
                        DivyaMuthyala
                        wrote on last edited by
                        #18

                        Hi,

                        I have missed some library soft linking .
                        I Configured it again and its working fine now.

                        Thankyou for your support.

                        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