summaryrefslogtreecommitdiff
path: root/share/qbs/module-providers/Qt/templates/qml.qbs
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2023-05-02 07:01:23 +0300
committerIvan Komissarov <ABBAPOH@gmail.com>2023-05-03 09:29:22 +0000
commit4b272a729e45a7330124604b7025ab0a49b58bbf (patch)
tree3ab8b0ae58532a543c3b0c76f47fff7f361ea2c0 /share/qbs/module-providers/Qt/templates/qml.qbs
parent8ac83975b31e9a9adf8e36c365a44d9a8216a7ab (diff)
downloadqbs-4b272a729e45a7330124604b7025ab0a49b58bbf.tar.gz
Qt: Fix compiled-qml on iOS and Qt6
Task-number: QBS-1732 Change-Id: Id5e6a3aa65ea276093d25d8b939dd59bbe090eda Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'share/qbs/module-providers/Qt/templates/qml.qbs')
-rw-r--r--share/qbs/module-providers/Qt/templates/qml.qbs8
1 files changed, 1 insertions, 7 deletions
diff --git a/share/qbs/module-providers/Qt/templates/qml.qbs b/share/qbs/module-providers/Qt/templates/qml.qbs
index f15705cc5..de1318695 100644
--- a/share/qbs/module-providers/Qt/templates/qml.qbs
+++ b/share/qbs/module-providers/Qt/templates/qml.qbs
@@ -170,13 +170,7 @@ QtModule {
}
if (cppFile)
cppFile.writeLine("Q_IMPORT_PLUGIN(" + className + ")");
- var libs = Qml.getLibsForPlugin(scannerData[p],
- product.Qt.core.qtBuildVariant,
- product.qbs.targetOS,
- product.qbs.toolchain,
- product.Qt.core.libPath,
- product.Qt.core.pluginPath,
- product.Qt.core.installPrefixPath);
+ var libs = Qml.getLibsForPlugin(scannerData[p], product);
for (var i = 0; i < libs.length; ++i) {
var lib = libs[i];
if (!lib.endsWith(product.cpp.objectSuffix)