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
parent
0adb78a847
commit
9617791075
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue