[yocto] Remove unwanted package from Qt

Jon Szymaniak jon.szymaniak at gmail.com
Fri Jan 18 07:25:22 PST 2013


On Thu, Jan 17, 2013 at 3:19 AM, Eric Bénard <eric at eukrea.com> wrote:
> Hi Jon,
>
> "inherit qt4e" is enough, no need to add qt4-embedded to DEPENDS.
>

Thanks! This makes sense, as I see this dependency is established in
the first few lines of qt4e.bbclass.

>
> strange, demos and examples are packaged in ${QT_BASE_NAME}-demos and
> ${QT_BASE_NAME}-examples packages so if you find these directories on
> your target, that means you requested qt4-embedded-demos and
> qt4-embedded-examples to be installed in your image.
>
> Are you installing packagegroup-core-qt4e in your image like in
> qt4e-demo-image ? If yes, that's where you pull demos & examples.
>
> To get a minimal image, you could simply have :
> IMAGE_INSTALL += "\
>         ${CORE_IMAGE_BASE_INSTALL} \
>         you_qt_app \
>         some qt4-embedded-fonts or qt4-embedded-plugin you may need
>         (check packagegroup-core-qt4e.bb for the exact names) \
>         "
> inherit core-image
>
> The Qt libraries your application is linked with will be automatically
> installed and you won't get extra unwanted packages in your image.
>
> Best regards,
> Eric

My IMAGE_INSTALL looks very similar to what you've shown there, which
I based upon what I saw in core-image-minimal. I see that I still have
a task-core-boot lying around, so I need to change that a
packagegroup-core-boot. (IIRC, packagegroup-core-boot PROVIDES
task-core-boot for the time being...)

IMAGE_INSTALL = "
  task-core-boot \
  my_qt_app \
  a_few_unrelated_recipes_that_don't_use_qt \
  ${ROOTFS_PKGMANAGE_BOOTSTRAP} \
  ${CORE_IMAGE_EXTRA_INSTALL} \
"

I checked the package list on a running system (opkg list | grep -i
qt). Here's all the installed Qt packages...no qt4-embedded-examples
as far as I see.

libqtcoree4 - 4.8.3-r50.0
libqtdeclarativee4 - 4.8.3-r50.0
libqtguie4 - 4.8.3-r50.0
libqtnetworke4 - 4.8.3-r50.0
libqtscripte4 - 4.8.3-r50.0
libqtsqle4 - 4.8.3-r50.0

Seems strange to me...any thoughts?

Thank you for your time and help!
Jon



More information about the yocto mailing list