macdeployqt: Skip qrc files when deploying QML modules

The logic for deploying QML modules copies the entire QML module
directory, which includes build artifacts such as qrc files.

Pick-to: 6.8 6.7 6.5 6.2
Change-Id: I7fa5c4c5247d1e2a04b83bb8f897cb58e417dded
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
Tor Arne Vestbø 2024-06-25 12:33:55 +02:00
parent 35801a6a8c
commit a962f45ade

View File

@ -671,6 +671,9 @@ void recursiveCopyAndDeploy(const QString &appBundlePath, const QList<QString> &
if (file.endsWith("_debug.dylib"))
continue; // Skip debug versions
if (file.endsWith(".qrc"))
continue;
const QString fileSourcePath = sourcePath + u'/' + file;
if (file.endsWith(QStringLiteral(".dylib"))) {