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

Qt Creator tries to deploy to the wrong directory

    XMLWordPrintable

Details

    • Linux/X11
    • fae3ba1a1b (qt-creator/qt-creator/8.0) fae3ba1a1b (qt-creator/qt-creator/master) fae3ba1a1b (qt-creator/qt-creator/qds-3.6) fae3ba1a1b (qt-creator/qt-creator/9.0)

    Description

      • setup up kit with remote linux device (I used localhost)
      • create dummy CMake project and set it up for remote linux kit
      • add "CMAKE_INSTALL_PREFIX=/tmp/local" to Initial Parameters
      • reconfigure with initial parameters
      • build & run

      Expected:

      application executable is deployed to /tmp/local/bin

      Actual:

      rsync fails with "rsync failed with exit code 23."

      The deployment info in the deployment step shows two items,
      one from /tmp/QtCreator-...../usr/local/bin/untitled1 -> /usr/local/bin
      one from /tmp/QtCreator-...../tmp/local/bin/untitled1 -> /tmp/local/bin

      And the run configuration executable is "/usr/local/bin/untitled1".

      The cmake install step installs untitled1 to /tmp/QtCreator-...../tmp/local/bin/untitled1

      Deployment step output:

      15:28:36: Running steps for project untitled1...
      15:28:36: Starting: "/usr/bin/cmake" --build /home/parallels/Documents/build-untitled1-RL_localhost-Debug --target all
      ninja: no work to do.
      15:28:36: The process "/usr/bin/cmake" exited normally.
      15:28:36: Starting: "/usr/bin/cmake" --build /home/parallels/Documents/build-untitled1-RL_localhost-Debug --target install
      [0/1 ?/sec] Install the project...
      -- Install configuration: "Debug"
      -- Up-to-date: /tmp/QtCreator-hMBUpw/tmp/local/bin/untitled1
      15:28:36: The process "/usr/bin/cmake" exited normally.
      15:28:36: The remote file system has 9470 megabytes of free space, going ahead.
      15:28:36: Deploy step finished.
      15:28:36: Trying to kill "device://{85da9aa5-4a39-40d2-8e01-77495a27c66a}/./" on remote device...
      15:28:37: Remote application killed.
      15:28:37: Deploy step finished.
      sending incremental file list
      untitled1
      
      sent 627,828 bytes  received 120 bytes  1,255,896.00 bytes/sec
      total size is 627,568  speedup is 1.00
      15:28:37: rsync failed with exit code 23.
      15:28:37: Deploy step failed.
      Error while building/deploying project untitled1 (kit: RL localhost)
      When executing step "Deploy files via rsync"
      15:28:37: Elapsed time: 00:01.
      

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes