Bug 5116 - missing qt4-x11-free dependency on gtk
Summary: missing qt4-x11-free dependency on gtk
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: graphics (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.5 M5
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-09-04 11:18 UTC by Peter A. Bigot
Modified: 2013-09-26 15:51 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter A. Bigot 2013-09-04 11:18:04 UTC
As discussed here: http://lists.openembedded.org/pipermail/openembedded-core/2013-August/083489.html

qt4-x11-free may or may not introduce a dependency on gtk+; this is non-deterministic on whether gtk+ had been populated prior to qt4's configure deciding whether to apply -gtkstyle or -no-gtkstyle to the configuration.

A proper fix involves porting something like PACKAGECONFIG to this recipe (which does not use oemake). For 1.5 a suitable workaround may be adding either -gtkstyle (with DEPENDS += gtk+) or -no-gtkstyle to the QT_X11_FLAGS.  As I can't guess which solution would be preferred I have to leave this to the maintainers.
Comment 1 Paul Eggleton 2013-09-20 13:04:39 UTC
I've just sent a patch that simply disables this. Ultimately I decided against introducing PACKAGECONFIG just for this, because the Qt recipes currently avoid it (PACKAGECONFIG cannot support a number of the additional library options for Qt since they are tri-state). Users who do want QGTKStyle can just set QT_X11_FLAGS as desired.