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. cannot run: no command
Forum Updated to NodeBB v4.3 + New Features

cannot run: no command

Scheduled Pinned Locked Moved Unsolved General and Desktop
50 Posts 5 Posters 12.3k 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.
  • A Asha

    yes I have other user as debian, through "ssh debian@192.168.7.2" I am able to login in target machine.

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

    @asha Then either use that user or enable root login via SSH

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

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Asha
      wrote on last edited by
      #33

      Hi,

      I login via debian user0_1568102197808_server.png

      then enabled the root login /etc/ssh/sshd_config file0_1568102251280_root.png

      here is the running status0_1568102281150_running.png

      now I am able login as a root0_1568102312397_rootlogin (1).png

      So, I changed the directory /opt permissions here "chmod go+wx opt"

      after this all, restarted the system ,and open the qt and run the simple application, the result is0_1568102663828_result.png

      0_1568102687165_result1.png

      So now what is the problem...any idea about this...(Thankyou very much)...

      jsulmJ 1 Reply Last reply
      0
      • A Asha

        Hi,

        I login via debian user0_1568102197808_server.png

        then enabled the root login /etc/ssh/sshd_config file0_1568102251280_root.png

        here is the running status0_1568102281150_running.png

        now I am able login as a root0_1568102312397_rootlogin (1).png

        So, I changed the directory /opt permissions here "chmod go+wx opt"

        after this all, restarted the system ,and open the qt and run the simple application, the result is0_1568102663828_result.png

        0_1568102687165_result1.png

        So now what is the problem...any idea about this...(Thankyou very much)...

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

        @asha You did not cross compile your app for your device.
        You can verify this by doing (in a terminal):

        file PATH_TO_YOUR_EXE
        

        and checking its output.

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

        1 Reply Last reply
        1
        • A Offline
          A Offline
          Asha
          wrote on last edited by
          #35

          can you give example,for more understanding purpose

          jsulmJ 1 Reply Last reply
          0
          • A Asha

            can you give example,for more understanding purpose

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

            @asha You open a terminal and type "file" followed by the path to the executable file you built and press enter...
            For more information see "man file".

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

            1 Reply Last reply
            0
            • A Offline
              A Offline
              Asha
              wrote on last edited by
              #37

              Hi,

              the result after typing "file /usr/lib/qt5/bin/qmake"0_1568112284524_exe.png

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Asha
                wrote on last edited by
                #38

                what it means,how to processed next.

                jsulmJ 1 Reply Last reply
                0
                • A Asha

                  what it means,how to processed next.

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

                  @asha Why qmake?
                  It is about your app (beagle) which is created if you build your app.

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

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    Asha
                    wrote on last edited by
                    #40

                    0_1568114786685_executable.png ,

                    I build the application(beagle)but i dont no where exactly the location of executable.

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      Asha
                      wrote on last edited by
                      #41

                      Hi,

                      Sorry,now got the build beagle executable,please go through this one0_1568115707634_beagleexe.png

                      how to processed next.

                      jsulmJ 1 Reply Last reply
                      0
                      • A Asha

                        Hi,

                        Sorry,now got the build beagle executable,please go through this one0_1568115707634_beagleexe.png

                        how to processed next.

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

                        @asha Your binary is for x86-64 as you can see. What is your device CPU? I guess ARM?

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

                        1 Reply Last reply
                        0
                        • A Offline
                          A Offline
                          Asha
                          wrote on last edited by
                          #43

                          yes it is ARM

                          jsulmJ 1 Reply Last reply
                          0
                          • A Asha

                            yes it is ARM

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

                            @asha Then you did NOT cross compiled your app.
                            Is your Kit for the device configured properly?
                            It has red exclamation mark.

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

                            1 Reply Last reply
                            0
                            • A Offline
                              A Offline
                              Asha
                              wrote on last edited by
                              #45

                              Then which cross compiler I have to use,

                              when go on kit beagleboard its displaying the details ,in that showing

                              Error:The compiler "cross_compiler"(arm-linux-generic-elf-unknown)cannot produce code for the qt version "Qt 5.13.0 GCC 64 bit"(x86-linux-generic-elf-64bit).

                              jsulmJ Pablo J. RoginaP 2 Replies Last reply
                              0
                              • A Asha

                                Then which cross compiler I have to use,

                                when go on kit beagleboard its displaying the details ,in that showing

                                Error:The compiler "cross_compiler"(arm-linux-generic-elf-unknown)cannot produce code for the qt version "Qt 5.13.0 GCC 64 bit"(x86-linux-generic-elf-64bit).

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

                                @asha You need cross compiled Qt. Qt you're currently using is compiled for x86 as error says. You can't use x86 binaries on ARM.

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

                                1 Reply Last reply
                                0
                                • A Offline
                                  A Offline
                                  Asha
                                  wrote on last edited by
                                  #47

                                  It means I have to download the qt for arm,right..

                                  I have to uninstall this qt for x86.

                                  after installing arm qt ,have to configure everything once again..

                                  right.

                                  1 Reply Last reply
                                  0
                                  • A Asha

                                    Then which cross compiler I have to use,

                                    when go on kit beagleboard its displaying the details ,in that showing

                                    Error:The compiler "cross_compiler"(arm-linux-generic-elf-unknown)cannot produce code for the qt version "Qt 5.13.0 GCC 64 bit"(x86-linux-generic-elf-64bit).

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

                                    @asha I think you'll end up boring lots of people that can help you if you don't stop and try understanding what you need to do to have both the Qt libraries and any application built with Qt cross-compiled in a Linux host and deployed and running successfully on your Beagle board.

                                    I'd suggest kindly to read (again?) this guide as it shows step by step what you need to do, both in your Linux machine (referred as workstation) and in your BBB device.

                                    Please set aside some time to go through it, do the steps listed there and see if you can succeed... good luck!

                                    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

                                    1 Reply Last reply
                                    3
                                    • A Offline
                                      A Offline
                                      Asha
                                      wrote on last edited by
                                      #49

                                      Sir,

                                      I gone through the document,i completed step 1,but not getting about step 2, "workstation@workstation" means I have to do those procedures on my target device? and already i copy the image,y need to copy once again..

                                      thankyou

                                      jsulmJ 1 Reply Last reply
                                      0
                                      • A Asha

                                        Sir,

                                        I gone through the document,i completed step 1,but not getting about step 2, "workstation@workstation" means I have to do those procedures on my target device? and already i copy the image,y need to copy once again..

                                        thankyou

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

                                        @asha workstation is not you target device but the machine where you're developing/crosscompiling...

                                        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