Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.9
-
None
-
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
For Gerrit Dashboard: QTBUG-59004 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
186822,10 | Preserve last modification timestamps of installed files | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |
186823,11 | Preserve last modification timestamps of installed program files | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |
187139,20 | Preserve last modification timestamps of installed directories | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |
239721,2 | Preserve last modification timestamps of installed files | 5.12 | qt/qttools | Status: MERGED | +2 | 0 |
239722,2 | Preserve last modification timestamps of installed directories | 5.12 | qt/qttools | Status: MERGED | +2 | 0 |