[oe] [meta-kde] [RFC] [PATCH] qt4-x11-free_4.8.0.bbappend: Fix Plasma Active by adding undocumented configure flag (--reduce-exports)

Samuel Stirtzel s.stirtzel at googlemail.com
Tue May 29 15:18:21 UTC 2012


2012/5/29 Samuel Stirtzel <s.stirtzel at googlemail.com>:
> No more "Declarative scriptengine not found" errors
>
> Signed-off-by: Samuel Stirtzel <s.stirtzel at googlemail.com>
> ---
>  recipes-misc-support/qt4-x11-free_4.8.0.bbappend |    5 ++++-
>  1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/recipes-misc-support/qt4-x11-free_4.8.0.bbappend b/recipes-misc-support/qt4-x11-free_4.8.0.bbappend
> index 4895893..beeb49f 100644
> --- a/recipes-misc-support/qt4-x11-free_4.8.0.bbappend
> +++ b/recipes-misc-support/qt4-x11-free_4.8.0.bbappend
> @@ -1,3 +1,6 @@
> +QT_CONFIG_FLAGS_append = " --reduce-exports"
> +
> +# Build OpenGL/ES support if available
>  QT_GLFLAGS_omap3 = "-opengl es2 "
>  DEPENDS_append_omap3 = " libgles-omap3"
>  DEPENDS_append_ti33x = " libgles-omap3"
> @@ -5,4 +8,4 @@ DEPENDS_append_ti33x = " libgles-omap3"
>  # Needed by kdelibs
>  QT_DISTRO_FLAGS = "-accessibility -sm"
>
> -PRINC := "${@int(PRINC) + 2}"
> +PRINC := "${@int(PRINC) + 3}"
> --
> 1.7.5.4
>

Hi,
just to let you know, Qt export visibility caused Plasma Active to fail.
This "undocumented" flag will enable KDE plugins to work again.

With this patch Plasma Active is working (to some extend).
It still has some flaws but I'm about to iron them out.

However this patch might impact other applications and I'm still
looking through my buildhistory diffs to see if anything behaves odd.
Until now I did not meet any misbehavior of other Qt applications, but
I'll double check to be sure.


After testing this will go to master with more descriptions / documentation.

-- 
Regards
Samuel




More information about the Openembedded-devel mailing list