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 creator Deployment error
Forum Update on Tuesday, May 27th 2025

Qt creator Deployment error

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 2 Posters 7.1k 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.
  • N Offline
    N Offline
    Nilesh Prakash Kokane
    wrote on last edited by
    #1

    Hi ,

    I'm using the wandboard-solo, and i've cross-compiled the sample code successfully.

    when attempt to deploy is made i get thr following errors in tyhe application output tab.

    can you please help me.

    sh: /opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/share/qt5/examples/quick/demos/clocks/clocks: cannot execute binary file: Exec format error
    Application finished with exit code 126

    Thanks
    Nilesh Kokane

    Nilesh Kokane

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi,

      It sounds like your cross-compiler is not targetting the correct platform.

      http://superuser.com/questions/435988/how-can-i-resolve-the-error-cannot-execute-binary-file

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • N Offline
        N Offline
        Nilesh Prakash Kokane
        wrote on last edited by
        #3

        Thanks for your valuable reply first of all

        Hi ,

        I have a final setup of Qt-creator as follows.I ran the script in the /opt/poky/1.6.1/ and opened the qt-creator from the concole. with this settings as below i'm trying to cross-compile the sample clock code

        1. General http://picpaste.com/1-gAmJsS3o.png
        2. Kits http://picpaste.com/2-Y3kFvHIG.png
        3. Qt version http://picpaste.com/3-lwZngysy.png
          4 compiler http://picpaste.com/4-M4y6gJYb.png
        4. Debugger http://picpaste.com/5-DQhrxi6t.png
        5. CMake http://picpaste.com/6-l3FhICDq.png
        6. Build Settings http://picpaste.com/7-4myooBgL.png

        With the settings ,clock code is giving me error[8].

        1. http://picpaste.com/8-kGmTWy3P.png

        14:32:34: Running steps for project clocks...

        14:32:34: Could not start process "/opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/bin/make" clean

        Error while building/deploying project clocks (kit: wandboard)

        When executing step 'Make'

        14:32:34: Elapsed time: 00:00.

        so what i did was just deleted the make path and gabe a all build command .

        It succedded and in an attempt to deploy the code i'm getting the following error

        sh: /opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/share/qt5/examples/quick/demos/clocks/clocks: cannot execute binary file: Exec format error
        Application finished with exit code 126

        Please if you can assist.

        Thanks

        Nilesh Kokane

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          [quote]7. Build Settings http://picpaste.com/7-4myooBgL.png[/quote]

          You have a Desktop kit and a Wandboard kit. Which one did you use to compile your application?

          You are using make from /opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/. Shouldn't you be using /opt/poky/1.6.1/sysroots/i686-pokysdk-linux/ ? (Make sure you know which files should be used in your desktop, and which files should be used in your Wandboard)

          [quote]It succedded and in an attempt to deploy the code i’m getting the following error
          sh: /opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/share/qt5/examples/quick/demos/clocks/clocks: cannot execute binary file: Exec format error
          Application finished with exit code 126
          [/quote]Did you try to run the application on your ARM board or on your development PC?

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • N Offline
            N Offline
            Nilesh Prakash Kokane
            wrote on last edited by
            #5
            You have a Desktop kit and a Wandboard kit. Which one did you use to compile your application?
            

            I 'm using the destop computer to cross-compile for the arm (wandboard)*

            You are using make from /opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/. Shouldn’t you be using /opt/poky/1.6.1/sysroots/i686-pokysdk-linux/ ? (Make sure you know which files should be used in your desktop, and which files should be used in your Wandboard)
            

            I just had a quick search in the folder /opt/poky/1.6.1/sysroots/i686-pokysdk-linux/ for make . I don't find any make file there.
            Also i tried to use the /usr/bin/make

            with this i'm getting the following error

            15:38:40: Running steps for project clocks...
            15:38:40: Configuration unchanged, skipping qmake step.
            15:38:40: Starting: "/usr/bin/make" clean
            rm -f qrc_clocks.cpp
            make: rm: Command not found
            rm -f main.o qrc_clocks.o
            rm -f *~ core *.core
            make: [compiler_rcc_clean] Error 127 (ignored)
            make: rm: Command not found
            make: [clean] Error 127 (ignored)
            /bin/sh: 1: rm: not found
            make: [clean] Error 127 (ignored)
            15:38:40: The process "/usr/bin/make" exited normally.
            15:38:40: Starting: "/usr/bin/make" make
            make: *** No rule to make target `make'. Stop.
            15:38:40: The process "/usr/bin/make" exited with code 2.
            Error while building/deploying project clocks (kit: wandboard)
            When executing step 'Make'
            15:38:40: Elapsed time: 00:00.

            But when i manuall cross compile it it works fine

            1)/opt/poky/1.6.1/sysroots/i686-pokysdk-linux/usr/bin/qt5/qmake -o Makefile /home/minda/Qt5.3.1/Examples/Qt-5.3/quick/demos/clocks/clocks.pro to generate the makefilr

            2)make clean

            3)make

            tBy following the above 3 steps i get success and the clocks code works on the wandboard.

            I just cant figure out wants qt-creator is errorously set by me which is creating the problem.

            can you please suggest.

            Thanks
            Nilesh Kokane

            Nilesh Kokane

            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