Re: [yocto] Circular dependency issues when building Qt with Yocto Scarthgap
Gyorgy Sarvari <[email protected]>
| Newsgroups | org.yoctoproject.lists.yocto |
|---|---|
| Message-ID | <[email protected]> |
On 8/26/25 08:36, Yannaboina, Shivaji via Lists.Yoctoproject.Org wrote: > Thanks for response, > > I didn't add any Application still. > I was supposed to add meta-qt* layers to my existing yocto project > structure and build them successfully, so during this, > 1. Performed Yocto build without QT layers and succeeded, and image > didn't have the QT related details when i verified in the manifest file > 2.Added QT layers- build-getting errors as mentioned earlier-idea is > if build successful- hope these packages will reflect in final image > Ex: in manifest file, > > To do a sanity check on your config, try to build an actual application. meta-qt5 has some examples in recipes-qt/examples folder, and/or for meta-qt6 just grab an example from qtcreator, or use a graphical "hello world". If you add such an application to IMAGE_INSTALL on its own, and it works in the final image (without explicitly adding Qt dependencies to IMAGE_INSTALL), then you can verify that it works - Qt apps can be compiled and executed in the final image. If you build an image with having the meta-qt layer present, Qt parts will be only included in the image if there is something to require them.