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>
bb10
Joerg Bornemann 2019-04-03 14:30:56 +02:00 committed by Kai Koehne
parent 0adb78a847
commit 9617791075
1 changed files with 1 additions and 1 deletions

View File

@ -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();