I’ve tried to add the package “curl” to the meta-toolchain-qte without success.
I added the command IMAGE_INSTALL_append = " curl" to conf/local.conf but it didn’t work. I tried to add the same command to meta meta-toolchain-qte.bb as well, without success.
The bitbake doesn’t generate the toolchain with curl support. Furthermore, I generated the pn-buildlist file and the file didn’t show the curl package.
Maybe you could add it to RDEPENDS_${PN} in ./openembedded-core/meta/recipes-qt/packagegroups/packagegroup-qt-toolchain-target.inc. (or add RDEPENDS_packagegroup-qte-toolchain-target_append = " curl" to local.conf)
Good idea about ‘bitbake -c populate_sdk’. Now the SDK contains the “curl” headers but seems that it didn’t build the qt sdk to cross compile to the target. I couldn’t find the qmake2 command on the installed dir (“/usr/local/oecore-x86_64”). I executed ‘bitbake meta-toolchain-qte -c populate_sdk’.
The “*host.manifest” file didn’t show the following packages.
I did the other solution you said. I created a new layer on stuff folder named “meta-mycompany” with recipes to add the package curl. Now it’s working…
But I still don’t know why the command qmake2 is not in the SDK after the execution of the command “bitbake meta-toolchain-qte -c populate_sdk”