Linux remote debugging



  • I cross compile Qt project for target linux board and want to remotely debug it on target. I setup generic linux device in Tools -> Options -> Devices in Qt Creator 3.6.0. The Test button shows the connection is OK.

    However the deployment fails (after clicking Debug button) with this message:

    12:10:50: Could not connect to host: Host unreachable
    Is the device connected and set up for network access?
    12:10:50: Deploy step failed.
    Error while building/deploying project Test (kit: a20-lime2)
    When executing step "Check for free disk space"

    I manually checked free disc space on my target linux board and there is plenty of it.

    I tried to disable Check for free disk space step, then the deployment fails with another message:

    12:18:48: Could not connect to host: Host unreachable
    Is the device connected and set up for network access?
    12:18:48: Deploy step failed.
    Error while building/deploying project Test (kit: a20-lime2)
    When executing step "Upload files via SFTP"

    Can you please help?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.