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.
the workaround is to emerge with -gtkstyle
Please give me a full build.log
And could you please emerge x11-libs/gtk+:2 and see if that fixes this issue? Thanks
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
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.