Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-59004

Preserve last modification timestamps when installing files with qmake

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.9
    • Fix Version/s: 5.9
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Commits:
      f074d72c8f9354fcf941fe32a9279d9c68944456

      Description

      When installing a file with qmake, the modification time of files are not preserved. Since the content of the files is not modified, the modification time stamp should also not change.

      The QML caching uses the last modification time stamp to determine - among other things - whether the cache is up-to-date. When creating cache files ahead of time when building the application, it is important that the last modification time of the QML source files is retained.

      While we could pass -p to the install command on Unix-alike platforms, we are missing an equivalent on Windows. Instead the idea is to implement this feature in qmake itself, similar to "qmake -install sed" and provide it across platforms.

        Attachments

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

          Activity

            People

            Assignee:
            shausman Simon Hausmann
            Reporter:
            shausman Simon Hausmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: