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. Qt Creator - Remote Linux Device Connection
QtWS25 Last Chance

Qt Creator - Remote Linux Device Connection

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 1.7k 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.
  • K Offline
    K Offline
    Ktome
    wrote on last edited by
    #1

    Hi All,

    I'm having a bit of trouble connecting to my Remote Linux Device in Qt Creator. My target device is running Yocto (Dunfell) with the meta-qt6 layer. I've also included "qtcreator-debug" within my EXTRA_IMAGE_FEATURES. My host device is a Windows 10 machine running Qt Creator.

    When I boot my target device, I can see that the device has an IP (192.168.11.1) via rndis. From my PC, I'm able to ping the target device and successfully get a response. I can also SSH into the target using Putty. However, within Qt Creator, when I add a Remote Linux Device, enter the correct IP, and then click the "test" button, I get "echo failed" immediately. If I change the IP to something that's incorrect, it takes a few seconds to get the "echo failed" response. When I use the correct IP, I get the "echo failed" immediately. This makes me think that Qt Creator is seeing my target device, but something is not right with the configuration.

    Any idea what might be wrong?

    Thanks!

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

      @Ktome said in Qt Creator - Remote Linux Device Connection:

      I can also SSH into the target using Putty.

      Which SSH client is your Qt Creator using? Check at Edit > Preferences... > Devices > SSH and then test using the same client.

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

      K 1 Reply Last reply
      2
      • JKSHJ JKSH

        @Ktome said in Qt Creator - Remote Linux Device Connection:

        I can also SSH into the target using Putty.

        Which SSH client is your Qt Creator using? Check at Edit > Preferences... > Devices > SSH and then test using the same client.

        K Offline
        K Offline
        Ktome
        wrote on last edited by
        #3

        @JKSH

        Ahhhh, good call! Qt Creator was using Git's SSH client. I switched it to the Windows OpenSSH client and that did the trick.

        Thank you!

        1 Reply Last reply
        1

        • Login

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