summaryrefslogtreecommitdiffstats
path: root/qmake/library/ioutils.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2017-03-01 12:41:48 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2017-05-02 10:27:15 +0000
commitc12b96daf2195c475c086f8f9be833aa0e28b26c (patch)
treed5a85c3935d63f7663fc0e55c804e932e2063b40 /qmake/library/ioutils.h
parent7eae7e8103c79c9e098fc112bb8157971117678d (diff)
Preserve last modification timestamps of installed directories
Similar to the two parent commits, this patchs preserves the time stamps of files we install as a result of recursive directory copying. Change-Id: Id5931a467196d5cd67acfa0deffc2488af8a3669 Task-number: QTBUG-59004 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'qmake/library/ioutils.h')
-rw-r--r--qmake/library/ioutils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qmake/library/ioutils.h b/qmake/library/ioutils.h
index 905974b7cb..ad379404f3 100644
--- a/qmake/library/ioutils.h
+++ b/qmake/library/ioutils.h
@@ -65,6 +65,9 @@ public:
#if defined(PROEVALUATOR_FULL)
static bool touchFile(const QString &targetFileName, const QString &referenceFileName, QString *errorString);
#endif
+#ifdef Q_OS_UNIX
+ static bool readLinkTarget(const QString &symlinkPath, QString *target);
+#endif
};
} // namespace ProFileEvaluatorInternal