Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-32479

Can no longer use %{Device:HostAddress} in Run Settings deploy Custom Process Step Arguments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 15.0.1
    • None
    • Linux/Wayland

    Description

      I've just upgraded Qt Creator from version 12.0.2 to 15.0.1 and have hit a problem when deploying a built C++ application to a device. I have a kit defined part of which is a Remote Linux Device that the built binaries are to be deployed to. In the Deployment section of the Run Settings in the Project Explorer  I have a Custom Process Step that calls a bash script which passes the host address of the current device in using %{Device:HostAddress}. This works well on 12.x but in 15.0.1 the entire Device section is missing from the Variable dialog (the one invoked using the A->B icon in the Arguments entry box.

      I had a look through the Qt Creator sources and I can see that a change (commit 035d581807d6d66160fa268b9ad423773a05bf35) was made to move the code where these variables are added (from plugins/projectexplorer/kitaspects.cpp to plugins/projectexplorer/devicesupport/devicekitaspects.cpp) but I cannot see anything in the changelogs to describe the nature of the change. What am I missing? Have these variables been moved or removed?

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kandeler Christian Kandeler
              duncwebb Duncan Webb
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes