This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM4372:meta-toolchain-arago-tisdk 9.01上缺少二进制文件

Guru**** 2560390 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1332754/am4372-missing-binary-on-meta-toolchain-arago-tisdk-9-01

器件型号:AM4372

你好

我正在为 Qt 开发者设置开发环境、我在 TI Arago 9.01版本中工作、我创建了 meta-toolchain-arago-tisdk 软件包、并将其安装在 Linux PC 上、当我加载 Qt 项目并尝试在 qtcreator 中编译时、出现以下错误:

/opt/arago-2023.04/sysroots/x86_64-arago-linux/usr/bin//qmltyperegistrar --generate-qmltypes=qhmi_gui.qmltypes --import-name=io.qt.examples.backend --major-version=1 --minor-version=0 --foreign-types=/opt/arago-2023.04/sysroots/armv7at2hf-neon-oe-linux-gnueabi/usr/lib/metatypes/qt5quick_metatypes.json,/opt/arago-2023.04/sysroots/armv7at2hf-neon-oe-linux-gnueabi/usr/lib/metatypes/qt5gui_metatypes.json,/opt/arago-2023.04/sysroots/armv7at2hf-neon-oe-linux-gnueabi/usr/lib/metatypes/qt5qmlmodels_metatypes.json,/opt/arago-2023.04/sysroots/armv7at2hf-neon-oe-linux-gnueabi/usr/lib/metatypes/qt5qml_metatypes.json,/opt/arago-2023.04/sysroots/armv7at2hf-neon-oe-linux-gnueabi/usr/lib/metatypes/qt5remoteobjects_metatypes.json,/opt/arago-2023.04/sysroots/armv7at2hf-neon-oe-linux-gnueabi/usr/lib/metatypes/qt5network_metatypes.json,/opt/arago-2023.04/sysroots/armv7at2hf-neon-oe-linux-gnueabi/usr/lib/metatypes/qt5sql_metatypes.json,/opt/arago-2023.04/sysroots/armv7at2hf-neon-oe-linux-gnueabi/usr/lib/metatypes/qt5core_metatypes.json -o qhmi_gui_qmltyperegistrations.cpp qhmi_gui_metatypes.json
make[1]: /opt/arago-2023.04/sysroots/x86_64-arago-linux/usr/bin//qmltyperegistrar: No such file or directory
make[1]: *** [Makefile.QHMI_GUI:827: qhmi_gui_qmltyperegistrations.cpp] Error 127
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/config/build-qt_applications-QHMI-Debug/gui'
make: *** [Makefile:135: sub-gui-QHMI_GUI-pro-make_first-ordered] Error 2
21:28:48: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project qt_applications (kit: QHMI)
When executing step "Make"
21:28:48: Elapsed time: 00:53.

我认为这可能是因为我们的项目使用了"config += qmltypes"、并且工具链上不存在 qmlregister 二进制文件。   

Im 使用 opensource qtcreator 5.0.3 (如果您觉得它的可靠性更高)

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    好的、我发现了问题、  
    我必须在图层上创建 nativesdk-packagegroup-arago-qte-toolchain-host.bbappend 并将 nativesdk-qtdeclarative-tools 添加到 rdepdes:${PN}