Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9, 5.10
-
None
-
Ubuntu 16.04
Qt 5.9.4
-
9617791075e02f19675f60060cb5776eb0e09edd (qt/qtbase/5.12)
Description
Execute the command "qmake -install qinstall /tmp/sourcedir /tmp/dest", if hidden directory or files (such as /tmp/sourcedir/.test) contained in /tmp/sourcedir, the directory and files will be ignored and will not be installed to /tmp/dest.
As my seek, It caused in the installFileOrDirectory() of qbase/qmake/main.cpp.
QDirIterator it(source, QDir::AllEntries | QDir::NoDotAndDotDot);
It should be QDirIterator it(source, QDir::AllEntries | QDir::NoDotAndDotDot | QDir::Hidden);