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

Remote deployment of directory with rsync copies contents rather than directory itself

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 14.0.0
    • Qt Creator 13.0.2
    • Remote Linux
    • None
    • All
    • 112e93b1b (14.0)

      Add directory to install to qmake project file:

      target.path = /opt/myapp
      images.files = images
      images.path = /opt/myapp
      INSTALLS += target images

      When the deployment method is using rsync, it will copy the contents of images directory into /opt/myapp. This is different from make install which will copy the images directory itself to /opt/myapp.

      Remote deployment with rsync results in:
      /opt/myapp/image1.jpg
      /opt/myapp/image2.jpg
      /opt/myapp/subdir/image3.jpg

      But make install results in:
      /opt/myapp/images/image1.jpg
      /opt/myapp/images/image2.jpg
      /opt/myapp/images/subdir/image3.jpg

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

            kandeler Christian Kandeler
            net147 Jonathan Liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes