Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 259119

Summary: x-11-libs/qt-qui-4.5.0_rc1-r1 failed Gtk theme support cannot be enabled due to functionality tests
Product: Gentoo Linux Reporter: Mike Bonar <mike.bonar>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mike Bonar 2009-02-15 19:19:06 UTC
qt-gui fails in the .configure stage stating Gtk theme support cannot be enabled due to functionality tests.

Reproducible: Always

Steps to Reproduce:
1.emerge qt
2.
3.
Comment 1 Mike Bonar 2009-02-15 19:26:41 UTC
the workaround is to emerge with -gtkstyle
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2009-02-15 21:00:39 UTC
Please give me a full build.log
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2009-02-15 21:14:30 UTC
And could you please emerge x11-libs/gtk+:2 and see if that fixes this issue?

Thanks
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2009-02-15 22:05:39 UTC
Ok this is fixed on CVS. gtk+:2 is needed if you want to install qt-gui-4.5.0_rc1 with gtkstyle use flag

Thanks for reporting
Comment 5 Sebastian Pipping gentoo-dev 2010-06-24 23:55:55 UTC
For the log:  Qt's configure runs the command

  # pkg-config --cflags gtk+-2.0 ">=" 2.10 atk

internally.  There's multiple reasons why this could fail, for example:

  # pkg-config --cflags gtk+-2.0 ">=" 2.10 atk
  Package libpng12 was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libpng12.pc'
  to the PKG_CONFIG_PATH environment variable
  Package 'libpng12', required by 'cairo', not found

Here the fix seems re-emerging cairo.  So if you get

  "Gtk theme support cannot be enabled due to functionality tests!"

from emerging qt-gui (not just 4.5.0_rc1-r1) a look at the output of said pkg-config call could help.