Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qmake not executable while configuring
Forum Updated to NodeBB v4.3 + New Features

Qmake not executable while configuring

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
20 Posts 4 Posters 3.9k 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.
  • R Rohit39

    Okay , Thank you @JonB , @SGaist for your valuable response.
    I want to complile the qt application code on ubuntu desktop through for Imx6 architecture. so i created the toolchain SDK with help of yocto.

    As per your suggestion if check it with file qmake output is as follow:
    qt5/qmake: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=a8d35a7ec22c1c368ba4b9906dc9cd880f146834, stripped

    Did i done wrong while toolchain creation in yocto?

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

    @Rohit39 said in Qmake not executable while configuring:

    Did i done wrong while toolchain creation in yocto?

    Looks like that. Then you cross compile Qt you should get tools like qmake compiled for HOST architecture, not target architecture as you execute them on host machine when cross compiling your apps.

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

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Rohit39
      wrote on last edited by
      #6

      I have created toolchain by following settings:
      MACHINE ??= 'imx6ull14x14evk' in local.conf
      do i need to change it ?

      jsulmJ 1 Reply Last reply
      0
      • R Rohit39

        I have created toolchain by following settings:
        MACHINE ??= 'imx6ull14x14evk' in local.conf
        do i need to change it ?

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

        @Rohit39 Did you search for qmake outside of "sysroots" folder (but inside /opt/fsl-imx-x11/4.9.88-2.0.0)?

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

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Rohit39
          wrote on last edited by
          #8

          @jsulm qmake file location is : /opt/fsl-imx-x11/4.9.88-2.0.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/bin/qt5

          and sysroots folder contains as follows:
          cortexa7hf-neon-poky-linux-gnueabi x86_64-pokysdk-linux

          jsulmJ 1 Reply Last reply
          0
          • R Rohit39

            @jsulm qmake file location is : /opt/fsl-imx-x11/4.9.88-2.0.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/bin/qt5

            and sysroots folder contains as follows:
            cortexa7hf-neon-poky-linux-gnueabi x86_64-pokysdk-linux

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

            @Rohit39 said in Qmake not executable while configuring:

            qmake file location is

            So, there is no other qmake?
            Did you try

            find /opt/fsl-imx-x11 -name qmake
            

            ?

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

            1 Reply Last reply
            0
            • R Offline
              R Offline
              Rohit39
              wrote on last edited by
              #10

              @jsulm Thank you for your response.
              if do find /opt/fsl-imx-x11 -name qmake output is as follow:
              /opt/fsl-imx-x11/4.9.88-2.0.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/src/debug/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/git/qmake

              /opt/fsl-imx-x11/4.9.88-2.0.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/bin/qt5/.debug/qmake

              /opt/fsl-imx-x11/4.9.88-2.0.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/bin/qt5/qmake

              first one is directory and last two are executable with following information
              if do file /opt/fsl-imx-x11/4.9.88-2.0.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/bin/qt5/.debug/qmake

              qmake: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter empty, for GNU/Linux 3.2.0, BuildID[sha1]=a8d35a7ec22c1c368ba4b9906dc9cd880f146834, not stripped

              and file /opt/fsl-imx-x11/4.9.88-2.0.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/bin/qt5/qmake
              qt5/qmake: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=a8d35a7ec22c1c368ba4b9906dc9cd880f146834, stripped

              jsulmJ 1 Reply Last reply
              0
              • R Rohit39

                @jsulm Thank you for your response.
                if do find /opt/fsl-imx-x11 -name qmake output is as follow:
                /opt/fsl-imx-x11/4.9.88-2.0.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/src/debug/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/git/qmake

                /opt/fsl-imx-x11/4.9.88-2.0.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/bin/qt5/.debug/qmake

                /opt/fsl-imx-x11/4.9.88-2.0.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/bin/qt5/qmake

                first one is directory and last two are executable with following information
                if do file /opt/fsl-imx-x11/4.9.88-2.0.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/bin/qt5/.debug/qmake

                qmake: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter empty, for GNU/Linux 3.2.0, BuildID[sha1]=a8d35a7ec22c1c368ba4b9906dc9cd880f146834, not stripped

                and file /opt/fsl-imx-x11/4.9.88-2.0.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/bin/qt5/qmake
                qt5/qmake: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=a8d35a7ec22c1c368ba4b9906dc9cd880f146834, stripped

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

                @Rohit39 Then it looks like host tools were not generated or installed. But I'm not Yocto expert.

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

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  Rohit39
                  wrote on last edited by
                  #12

                  Thank You For Valuable response @jsulm

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    Rohit39
                    wrote on last edited by
                    #13

                    Please let me know if anyone have some idea about this

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

                      Take a look at this article, it talks about building a SDK targeted at cross-compilation with Qt.

                      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
                      • R Offline
                        R Offline
                        Rohit39
                        wrote on last edited by
                        #15

                        @SGaist I followed same link. but not able to produced qmake for x86 platform

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

                          What exactly did you do ?

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

                          R 1 Reply Last reply
                          0
                          • SGaistS SGaist

                            What exactly did you do ?

                            R Offline
                            R Offline
                            Rohit39
                            wrote on last edited by
                            #17

                            @SGaist I have followed first
                            $bitbake meta-toolchain-qt5
                            but it throws an error :
                            Error: Transaction check error:file /opt/fsl-imx-x11/4.9.88-2.0.0/sysroots/x86_64-pokysdk-linux/environment-setup.d conflicts between attempted installs of nativesdk-cmake-3.8.2-r0.x86_64_nativesdk and nativesdk-qtbase-tools-5.9.4+git0+0d9208cecb-r0.x86_64_nativesdk
                            Its for Rocko version.
                            and about to follow steps as below from doc
                            inherit populate_sdk_qt5 == [in recipe image]
                            $bitbake -c populate_sdk <image-name>

                            so its not generating qmake file for x86 architecture.

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

                              The versions of the two clashing packages looks pretty old...

                              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
                              • R Offline
                                R Offline
                                Rohit39
                                wrote on last edited by
                                #19

                                Do you mean Yocto version: Rocko Right?

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

                                  I was thinking about both cmake and Qt versions.

                                  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

                                  • Login

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