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.
Hello
I am setting up the development environment for our qt developers, I am working in TI arago 9.01 release, I created the meta-toolchain-arago-tisdk package and install it on my linux PC, when I load our qt project and try to compile it inside qtcreator I got the following error:
/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.
I think this might be caused because our project uses "CONFIG += qmltypes" and the qmlregistrar binary is not present on the toolchain.
Im using opensource qtcreator 5.0.3 if you feel its reelevant
Ok I found the issue,
I had to create nativesdk-packagegroup-arago-qte-toolchain-host.bbappend on our layer and add nativesdk-qtdeclarative-tools to the RDEPENDS:${PN}