diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2019-04-03 14:30:56 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2019-04-09 08:16:25 +0000 |
commit | 9617791075e02f19675f60060cb5776eb0e09edd (patch) | |
tree | 167f1371c153ccb1faf905294f9c3359794fa3d2 | |
parent | 0adb78a8479417c902cde9ba050edc2f828ecd83 (diff) |
Let QINSTALL copy hidden files when installing directories
When installing directories, QINSTALL must not ignore contained hidden
files to be consistent with the old INSTALL_DIR.
Fixes: QTBUG-66835
Change-Id: I3a7c952dcac9732d5b17c5a258f87ca277b388d2
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
-rw-r--r-- | qmake/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/main.cpp b/qmake/main.cpp index 69dff1073e..a598296898 100644 --- a/qmake/main.cpp +++ b/qmake/main.cpp @@ -306,7 +306,7 @@ static int installFileOrDirectory(const QString &source, const QString &target, } else if (fi.isDir()) { QDir::current().mkpath(target); - QDirIterator it(source, QDir::AllEntries | QDir::NoDotAndDotDot); + QDirIterator it(source, QDir::AllEntries | QDir::NoDotAndDotDot | QDir::Hidden); while (it.hasNext()) { it.next(); const QFileInfo &entry = it.fileInfo(); |