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

Deployment breaks symlinks from target.path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.9.0
    • Remote Linux
    • None
    • Dev machine: ArchLinux
      Remote Machine: Debian Stretch
    • Linux/X11

    Description

      After updating to QtCreator 4.9.0 deploy breaks symlinks provided in target.files (sample project attached)

      I have SampleEmbedded in /home/kuba/workspace/ so the project full path is /home/kuba/workspace/SampleEmbedded. 

      Inside /home/kuba/workspace/SampleEmbedded/lib/ I have 2 files:

      libSample.so.1.0.0

      libSample.so -> libSample.so.1.0.0

       

      After deployment of the SampleEmbedded using QtCreator 4.9.0, I check ls command on Remote Linux: 'ls -l /opt/SampleEmbedded/lib/' and it gives me following:

      libSample.so.1.0.0

      libSample.so -> /home/kuba/workspace/SampleEmbedded/lib/libSample.so

       

      So it looks like if you provide symlink to target.files inside *.pro file, it will deploy the symlink to Remote Linux, but instead of pointing to './libSample.so.1.0.0 it will point to it's original place on Dev machine (notice that after deployment it's not pointing to libSample.so.1.0.0 but to libSample.so)

      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
              jakub_motyczko Jakub Motyczko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes