diff options
author | Tor Arne Vestbø <[email protected]> | 2024-06-25 12:33:55 +0200 |
---|---|---|
committer | Tor Arne Vestbø <[email protected]> | 2024-06-26 00:36:48 +0200 |
commit | a962f45adebbc6ea0c83bc9be3a50da245976a77 (patch) | |
tree | 8b32138ee899e39f34a6923602262ca581e54fe5 | |
parent | 35801a6a8c6c5f1e89e5e3132ae103e7a3bf1812 (diff) |
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 <[email protected]>
-rw-r--r-- | src/tools/macdeployqt/shared/shared.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/macdeployqt/shared/shared.cpp b/src/tools/macdeployqt/shared/shared.cpp index c4145326cf4..2e433b638fa 100644 --- a/src/tools/macdeployqt/shared/shared.cpp +++ b/src/tools/macdeployqt/shared/shared.cpp @@ -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"))) { |