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. Run: Command Not Found (Cross Compiling EGLFS Raspberry Pi2)

Run: Command Not Found (Cross Compiling EGLFS Raspberry Pi2)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
raspberry piraspberry pi 2raspberry eglfseglfs rpi2eglfs
11 Posts 3 Posters 4.3k Views
  • 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.
  • C Offline
    C Offline
    cxam
    wrote on 23 Mar 2016, 12:03 last edited by
    #1

    Hi, I just finished the official tutorial of qt in order to Cross Compile from mi Debian Laptop to Raspberry Pi 2, the guide went perfectly, I didn't got any error of any kind but when I try to compile a empty project (Just the Mainwindow) it tells me "Run: Command Not Found" so I searched online and I saw that it may be caused because Qt doesn't know where to deploy mi project so I added the Target path to the Pro file but unfortunately it keeps deploying the same error.

    Thanks in advance,
    Carlos.

    Stay Hungry, Stay Foolish

    1 Reply Last reply
    0
    • J Online
      J Online
      jsulm
      Lifetime Qt Champion
      wrote on 23 Mar 2016, 13:26 last edited by
      #2

      At which build step do you get this error?
      Did you configure a Kit in QtCreator to use the cross compiled Qt?

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

      C 1 Reply Last reply 23 Mar 2016, 21:11
      1
      • J jsulm
        23 Mar 2016, 13:26

        At which build step do you get this error?
        Did you configure a Kit in QtCreator to use the cross compiled Qt?

        C Offline
        C Offline
        cxam
        wrote on 23 Mar 2016, 21:11 last edited by
        #3

        @jsulm Hi! First of all thanks for answering my question, anyways I managed to solve it myself. Thanks for your reply :)

        Stay Hungry, Stay Foolish

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 23 Mar 2016, 22:10 last edited by
          #4

          Hi,

          What was the problem ?

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

          C 1 Reply Last reply 24 Mar 2016, 13:10
          0
          • S SGaist
            23 Mar 2016, 22:10

            Hi,

            What was the problem ?

            C Offline
            C Offline
            cxam
            wrote on 24 Mar 2016, 13:10 last edited by
            #5

            @SGaist Well, I added some custom proceda to the run,

            1. qmake
            2. make
            3. scp to copy the compilated file to the raspberry Pi
            4. ./program_name on raspberry pi

            Stay Hungry, Stay Foolish

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 24 Mar 2016, 20:22 last edited by
              #6

              Ok, but did you tell Qt Creator you where targeting a device ?

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

              C 1 Reply Last reply 25 Mar 2016, 06:47
              0
              • S SGaist
                24 Mar 2016, 20:22

                Ok, but did you tell Qt Creator you where targeting a device ?

                C Offline
                C Offline
                cxam
                wrote on 25 Mar 2016, 06:47 last edited by
                #7

                @SGaist Oh yeah, I forgot about that. I also added on the .pro file the target device in /home/pi

                Stay Hungry, Stay Foolish

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 25 Mar 2016, 23:04 last edited by
                  #8

                  How did you do that ?

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

                  C 1 Reply Last reply 26 Mar 2016, 07:22
                  0
                  • S SGaist
                    25 Mar 2016, 23:04

                    How did you do that ?

                    C Offline
                    C Offline
                    cxam
                    wrote on 26 Mar 2016, 07:22 last edited by
                    #9

                    @SGaist I added this on the .pro file:

                    # Set Build Remote Directory:
                    target.path = /home/pi/
                    INSTALLS += target
                    

                    Stay Hungry, Stay Foolish

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 26 Mar 2016, 21:05 last edited by
                      #10

                      Did you mount that on your host machine ?

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

                      C 1 Reply Last reply 26 Mar 2016, 22:51
                      0
                      • S SGaist
                        26 Mar 2016, 21:05

                        Did you mount that on your host machine ?

                        C Offline
                        C Offline
                        cxam
                        wrote on 26 Mar 2016, 22:51 last edited by
                        #11

                        @SGaist Indeed :)

                        Stay Hungry, Stay Foolish

                        1 Reply Last reply
                        0

                        9/11

                        26 Mar 2016, 07:22

                        • Login

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