Add a new package to meta-toolchain-qte


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 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.

What am I doing wrong?



Hi Ives

Maybe you could add it to RDEPENDS_${PN} in ./openembedded-core/meta/recipes-qt/packagegroups/ (or add RDEPENDS_packagegroup-qte-toolchain-target_append = " curl" to local.conf)

However the better way would be to build the SDK for your image. i.e.

'bitbake <image_name> -c populate_sdk'.  

Assuming that your image deploys curl, the resulting SDK will contain the developer packages of curl and all other packages deployed with the image.


Hi Max.

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.

nativesdk-packagegroup-qte-toolchain-host x86_64-nativesdk 1.0-r12
nativesdk-qt4-tools x86_64-nativesdk 4.8.7-r0

Do you have any idea why the qmake2 command is not in the SDK?

Thanks for all.

Hi Max!

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”