Skip to contentSkip to conversation

qt4-x11-free_4.8.0.bbappend: Fix Plasma Active by adding undocumented configure flag (--reduce-exports)

RFC PATCH In review Samuel Stirtzel 1 participant 2 messages May 29, 2012

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 qt4-x11-free_4.8.0.bbappend: Fix Plasma Active by adding undocumented configure flag (--reduce-exports)

No more "Declarative scriptengine not found" errors

---
 recipes-misc-support/qt4-x11-free_4.8.0.bbappend |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
recipes-misc-support/qt4-x11-free_4.8.0.bbappend +4 -1
index 4895893..beeb49f 100644
@@ -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}"
Signature · 1 line
1.7.5.4
#1 lore raw

2012/5/29 Samuel Stirtzel <[email protected]>:

Quoted 25 lines

No more "Declarative scriptengine not found" errors

---
 recipes-misc-support/qt4-x11-free_4.8.0.bbappend |    5 ++++-

 1 files changed, 4 insertions(+), 1 deletions(-)
recipes-misc-support/qt4-x11-free_4.8.0.bbappend +3 -0
index 4895893..beeb49f 100644
@@ -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"

recipes-misc-support/qt4-x11-free_4.8.0.bbappend +0 -0
@@ -5,4 +8,4 @@ DEPENDS_append_ti33x = " libgles-omap3"
  # Needed by kdelibs

 QT_DISTRO_FLAGS = "-accessibility -sm"

recipes-misc-support/qt4-x11-free_4.8.0.bbappend +1 -2
-PRINC := "${@int(PRINC) + 2}"
+PRINC := "${@int(PRINC) + 3}"
--
Quoted 2 lines

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.

Signature · 2 lines
Regards
Samuel