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

Details

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

    Description

      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

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-31136
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes