On Fri, Oct 04, 2013 at 12:50:17PM -0400, Trevor Woerner wrote:
> Thanks Martin,
> 
> On 4 October 2013 10:14, Martin Jansa <martin.ja...@gmail.com> wrote:
> > Just lucky guess, do you have ICU enabled in qtbase?
> 
> That was a good guess!
> 
> It appears there's very important rule to know when using meta-qt5's
> master branch (i.e. 5.1.0):
> - if all you need is qtbase then ICU is not required and therefore not
> enabled (to save space)
> - if you need anything on top of qtbase then ICU must be enabled in
> qtbase's configuration
> 
> Do you think this would be a good thing to include in this layer's
> README (or is it somewhere I should have looked)?

There are few comments in qtbase.inc where people should look when they
are changing PACKAGECONFIG, but you're right that it isn't the place
where most people will look when they get misleading error like this
one.

# separate some parts of PACKAGECONFIG which are often changed
# be aware that you need to add icu to build qtwebkit, default
# PACKAGECONFIG is kept rather minimal for people who don't need
# stuff like webkit (and it's easier to add options than remove)

# gl or gles needs to be enabled in order to build qtdeclarative
# 
http://qt.gitorious.org/qt/qtdeclarative/commit/e988998a08b1420ed10bd02d9d4b3b8ed2289df9
PACKAGECONFIG_GL ?= "${@base_contains('DISTRO_FEATURES', 'opengl', 'gl',
'', d)}"

# accessibility is required to compile qtquickcontrols
PACKAGECONFIG[accessibility] = "-accessibility,-no-accessibility"

# gl or gles2 is needed in order to build qtdeclarative
# (qtdeclarative.do_configure fails to find quick module without)
PACKAGECONFIG[gl] = "-opengl desktop -no-eglfs,,virtual/libgl"

# depends on glib
PACKAGECONFIG[gstreamer] = "-gstreamer,-no-gstreamer,gstreamer"

# needed for qtdeclarative (qtdeclarative.do_configure fails to find
# quick module without)
PACKAGECONFIG[icu] = "-icu,-no-icu,${ICU}"

I'm thinking about using bb.warn when building qtbase without one of
them disabled, but again most people won't check qtbase build log when
they see "no such module qtwebkit" error.

I'll add at least some note to README file.

-- 
Martin 'JaMa' Jansa     jabber: martin.ja...@gmail.com

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to