I'm using the "doc" USE flag with qt-core : * Found these USE flags for x11-libs/qt-core-4.6.0-r1: U I - - aqua : Include support for the Aqua / Carbon GUI - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml - + doc : Adds extra documentation (API, Javadoc, etc) + + glib : Enable dev-libs/glib eventloop support + + iconv : Enable support for the iconv character set conversion library - - optimized-qmake : Enable qmake optimization - - pch : Enable precompiled header support for faster compilation at the expense of disk space and memory (>=sys-devel/gcc-3.4 only) + + qt3support : Enable the Qt3Support libraries for Qt4. Note that this does not mean you can compile pure Qt3 programs with Qt4. + + ssl : Adds support for Secure Socket Layer connections But, whereas assistant is compiled and installed, I cannot find the documentation and no .qch files are created. Is there another way to install Qt4 documentation ? Reproducible: Always Steps to Reproduce: 1. Add "doc" in package.use like x11-libs/qt-core:4 glib qt3support ssl doc 2. emerge qt-core:4 3. There is no /usr/share/doc/qt*
install x11-libs/qt-assistant
Of course, qt-assistant is installed and it doesn't contain any Qt4 reference documentation : * Found these USE flags for x11-libs/qt-assistant-4.6.0-r1: U I - - aqua : Include support for the Aqua / Carbon GUI - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml - - pch : Enable precompiled header support for faster compilation at the expense of disk space and memory (>=sys-devel/gcc-3.4 only) But, where should the documentation be installed ?
% qlist qt-assistant | grep qch /usr/share/doc/qt-4.6.1/qch/assistant.qch /usr/share/doc/qt-4.6.1/qch/designer.qch /usr/share/doc/qt-4.6.1/qch/linguist.qch /usr/share/doc/qt-4.6.1/qch/qmake.qch /usr/share/doc/qt-4.6.1/qch/qt.qch Don't you have those files?
It's strange: I haven't these files : sh-4.0# qlist qt-assistant | grep qch But, I confirm that qt-assistant is installed : sh-4.0# equery list qt-assistant * Searching for qt-assistant ... [IP-] [ ] x11-libs/qt-assistant-4.6.1:4 sh-4.0# equery u qt-assistant * Searching for qt-assistant ... [ Legend : U - flag is set in make.conf ] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for x11-libs/qt-assistant-4.6.1: U I - - aqua : Include support for the Aqua / Carbon GUI - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml - - pch : Enable precompiled header support for faster compilation at the expense of disk space and memory (>=sys-devel/gcc-3.4 only)
Same behavior with 4.6.2?
Yes, exactly the same thing: sh-4.1# equery u qt-assistant * Searching for qt-assistant ... [ Legend : U - flag is set in make.conf ] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for x11-libs/qt-assistant-4.6.2: U I - - aqua : Include support for the Aqua / Carbon GUI - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml - + exceptions : Add support for exceptions - like catching them inside the event loop (recommended by Nokia) - - pch : Enable precompiled header support for faster compilation at the expense of disk space and memory (>=sys-devel/gcc-3.4 only) sh-4.1# qlist qt-assistant | grep qch sh-4.1#
Created attachment 223983 [details] Compilation log
I've attached the compilation log. You can see that .qch are built but they are not installed.
>>> Installing (1 of 1) x11-libs/qt-assistant-4.6.2 * Removing /usr/share/doc >>> Auto-cleaning packages. Do you by any chance have "nodoc" on FEATURES under /etc/make.conf?
Yes... I've completely forgotten this flag. I'm really sorry to have wasted your time...