Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to resolve this error when run project ?
Qt 6.11 is out! See what's new in the release blog

How to resolve this error when run project ?

Scheduled Pinned Locked Moved Solved General and Desktop
17 Posts 4 Posters 1.5k 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.
  • Q Offline
    Q Offline
    Qt embedded developer
    wrote on last edited by Qt embedded developer
    #8

    @mrjj @JonB
    ans 1]
    i have joined the new company where this project already made . So i have copied this already existing project and run that on qtcreator in linux of vmware of windows .

    ans 2 @JonB ]
    Image_20211002_1613286062428372745326943 (1).jpg

    mrjjM JonBJ 2 Replies Last reply
    0
    • Q Qt embedded developer

      @mrjj @JonB
      ans 1]
      i have joined the new company where this project already made . So i have copied this already existing project and run that on qtcreator in linux of vmware of windows .

      ans 2 @JonB ]
      Image_20211002_1613286062428372745326943 (1).jpg

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #9

      @Qt-embedded-developer

      Hi
      It seems to have execute on
      what happens if you do

      ./NEWAPP

      to try start it ?

      Q 1 Reply Last reply
      1
      • mrjjM mrjj

        @Qt-embedded-developer

        Hi
        It seems to have execute on
        what happens if you do

        ./NEWAPP

        to try start it ?

        Q Offline
        Q Offline
        Qt embedded developer
        wrote on last edited by Qt embedded developer
        #10

        @mrj output of ./NEWAPP: j can not execute binary file

        1: path or permission . Please delete the exe and make so its for sure generated again fully.
        Ans: i am using linux so its generate NEWAPP as binary and NEWAPP is target name .

        mrjjM 1 Reply Last reply
        0
        • Q Qt embedded developer

          @mrj output of ./NEWAPP: j can not execute binary file

          1: path or permission . Please delete the exe and make so its for sure generated again fully.
          Ans: i am using linux so its generate NEWAPP as binary and NEWAPP is target name .

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #11

          @Qt-embedded-developer

          Hi

          try
          objdump NEWAPP
          and see what it says

          I suspect you have an exe from other platform/bitness 32/64
          like 64 bit app on 32 bit os
          or reversed.

          1 Reply Last reply
          1
          • Q Qt embedded developer

            @mrjj @JonB
            ans 1]
            i have joined the new company where this project already made . So i have copied this already existing project and run that on qtcreator in linux of vmware of windows .

            ans 2 @JonB ]
            Image_20211002_1613286062428372745326943 (1).jpg

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by JonB
            #12

            @Qt-embedded-developer
            If NEWAPP does not run you could try looking at:

            • file NEWAPP
            • ldd NEWAPP

            And you might have trouble trying to run a UI application as root....

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

              Hi,

              Why are you developing your application as root ?

              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
              • JonBJ JonB

                @Qt-embedded-developer
                If NEWAPP does not run you could try looking at:

                • file NEWAPP
                • ldd NEWAPP

                And you might have trouble trying to run a UI application as root....

                Q Offline
                Q Offline
                Qt embedded developer
                wrote on last edited by
                #14

                @JonB

                root@ubuntu:/home/ankitasingh/mangal/07082019/NMMT# file NEWAPP
                NEWAPP: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, BuildID[sha1]=0xb21dab967746dec3e210c303e287a5e04954a1d7, not stripped
                root@ubuntu:/home/ankitasingh/mangal/07082019/NMMT# ldd NEWAPP
                        not a dynamic executable
                root@ubuntu:/home/ankitasingh/mangal/07082019/NMMT#

                JonBJ 1 Reply Last reply
                0
                • Q Qt embedded developer

                  @JonB

                  root@ubuntu:/home/ankitasingh/mangal/07082019/NMMT# file NEWAPP
                  NEWAPP: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, BuildID[sha1]=0xb21dab967746dec3e210c303e287a5e04954a1d7, not stripped
                  root@ubuntu:/home/ankitasingh/mangal/07082019/NMMT# ldd NEWAPP
                          not a dynamic executable
                  root@ubuntu:/home/ankitasingh/mangal/07082019/NMMT#

                  JonBJ Offline
                  JonBJ Offline
                  JonB
                  wrote on last edited by JonB
                  #15

                  @Qt-embedded-developer said in How to resolve this error when run project ?:

                  not a dynamic executable

                  That looks like your reason then!

                  NEWAPP: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16,

                  And are you e.g. 32-bit LSB and ARM ? If you are not ARM on this machine....

                  Q 1 Reply Last reply
                  2
                  • JonBJ JonB

                    @Qt-embedded-developer said in How to resolve this error when run project ?:

                    not a dynamic executable

                    That looks like your reason then!

                    NEWAPP: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16,

                    And are you e.g. 32-bit LSB and ARM ? If you are not ARM on this machine....

                    Q Offline
                    Q Offline
                    Qt embedded developer
                    wrote on last edited by Qt embedded developer
                    #16

                    @JonB Means i can not able to test changes i will make in project .

                    THANKS for help and answer @mrjj @JonB @SGaist

                    mrjjM 1 Reply Last reply
                    0
                    • Q Qt embedded developer

                      @JonB Means i can not able to test changes i will make in project .

                      THANKS for help and answer @mrjj @JonB @SGaist

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #17

                      @Qt-embedded-developer

                      Hi

                      Ah so it was just wrong exe type.

                      You produce an ARM "exe" so most likely you are
                      supposed to copy it to some test board for running it.

                      Also if the board is connected and all is set up , Creator can transfer the exe to the board and run it
                      with debugger and all.

                      You should ask the other developers about it. What they do etc.

                      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