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. Qt Creator 3.5: Remote execution broken?
Forum Update on Monday, May 27th 2025

Qt Creator 3.5: Remote execution broken?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
13 Posts 2 Posters 2.5k 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.
  • J Offline
    J Offline
    jobe
    wrote on last edited by jobe
    #1

    Hi!
    I'm trying debug my program on a remote linux server from within Qt creator.
    The device works without any problems; the test runs through (the test-button at options>devices), I can see the processes (at the same place) and the deployment via sftp works (when pressing the big green play button :)).
    But it doesn't work to run the program then. Neither via "Custom Executable" nor via the "<project name>" run configuration. A "Run ... on Linux Device" window appears in Application Output but just stays empty and the executable is not running on the remote host.

    The project is a simple "Hello World"

    Thanks for your help!

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

      Hi and welcome to devnet,

      You have to be more specific otherwise it's pretty much Crystal Ball debugging. What are you trying to connect to ? What error are you getting ?

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

      J 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        You have to be more specific otherwise it's pretty much Crystal Ball debugging. What are you trying to connect to ? What error are you getting ?

        J Offline
        J Offline
        jobe
        wrote on last edited by
        #3

        @SGaist Thanks for the welcome and swift reply. Indeed I accidentally hit Submit in the middle of a sentence, I added more information now.

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

          What is the test that runs correctly ?

          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
          • J Offline
            J Offline
            jobe
            wrote on last edited by
            #5

            I'm talking about the "Test"-button under Options > Devices.

            Unfortunately I can only answer rate-limited because of low reputation... I'll put more details in the description above.

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

              So you followed this guide and related links to setup your Qt Creator and run your application ?

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

              J 1 Reply Last reply
              0
              • SGaistS SGaist

                So you followed this guide and related links to setup your Qt Creator and run your application ?

                J Offline
                J Offline
                jobe
                wrote on last edited by
                #7

                @SGaist yes, exactly.

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

                  The next question might sound silly but do you have Qt properly installed on your target ?

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

                  J 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    The next question might sound silly but do you have Qt properly installed on your target ?

                    J Offline
                    J Offline
                    jobe
                    wrote on last edited by
                    #9

                    @SGaist It's not a silly question at all! There is indeed no qt installed on the target, but as I'm starting a simple c++ hello world without any qt-stuff involved I thought i wouldn't need that. Also there is the option to say "none" for qt in Options>devices...
                    So does Qt creator use some qt stuff to start the executable?

                    Thank you very much for all your help so far already!

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

                      No it should not. AFAIR it uses ssh to connect to your device and handle everything from there. What is your hello world doing ?

                      You're welcome :)

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

                      J 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        No it should not. AFAIR it uses ssh to connect to your device and handle everything from there. What is your hello world doing ?

                        You're welcome :)

                        J Offline
                        J Offline
                        jobe
                        wrote on last edited by
                        #11

                        @SGaist this is the program:
                        https://gist.github.com/anonymous/799e98c7115a37d3058e
                        running it manually works as expected (both locally and on the target)

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

                          And you don't get anything written to that file ?

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

                          J 1 Reply Last reply
                          0
                          • SGaistS SGaist

                            And you don't get anything written to that file ?

                            J Offline
                            J Offline
                            jobe
                            wrote on last edited by
                            #13

                            That's correct. :)

                            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