Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.4.0 Beta4
Description
Using QML Compiler with cross-compilation toolchain fails as qmlsc tries to find QML modules from runtime paths instead of using the sysroot paths.
Building for extending-qml/chapter6-plugins example with Boot2Qt toolchain:
[7/16 89.4/sec] Generating .rcc/qmlcache/chapter6-plugins_app_qml.cpp Warning: app.qml: Warnings occurred while importing base modules: [import] --- Warning: Failed to find the following builtins: builtins.qmltypes, jsroot.qmltypes (so will use qrc). Import paths used: /home/sapiippo/Qt/Examples/Qt-6.4.0/qml/tutorials/extending-qml/build-chapter6-plugins-Boot2Qt_6_4_0_Raspberry_Pi_4_64_bit-Debug /usr/lib/qml [import]
Attachments
For Gerrit Dashboard: QTBUG-106365 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
431552,7 | CMake: Partially unify tooling import path handling | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
431558,3 | Add --bare option | dev | qt/tqtc-qmlcompilerplus | Status: MERGED | +2 | 0 |
431559,2 | Add --bare option to qmltc and qmlcachegen | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
431561,4 | Use --bare option in CMake-generated calls to QML tools | 6.4.0 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
431668,2 | Add --bare option | 6.4 | qt/tqtc-qmlcompilerplus | Status: MERGED | +2 | 0 |
431669,2 | Add --bare option | 6.4.0 | qt/tqtc-qmlcompilerplus | Status: MERGED | +2 | 0 |
431784,3 | CMake: Partially unify tooling import path handling | 6.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
431785,2 | CMake: Partially unify tooling import path handling | 6.4.0 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
431844,2 | Add --bare option to qmltc and qmlcachegen | 6.4.0 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
431845,2 | Add --bare option to qmltc and qmlcachegen | 6.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
432021,2 | Use --bare option in CMake-generated calls to QML tools | 6.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
432022,2 | Use --bare option in CMake-generated calls to QML tools | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
432402,2 | ptest: fix test build with latest qml tools | 6.4.0 | yocto/meta-qt6 | Status: MERGED | +2 | 0 |
432480,2 | ptest: fix test build with latest qml tools | dev | yocto/meta-qt6 | Status: MERGED | +2 | 0 |
432481,2 | ptest: fix test build with latest qml tools | 6.4 | yocto/meta-qt6 | Status: MERGED | +2 | 0 |