Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300998 - qt-assistant-4.6.1 doesn't install Qt4 documentation
Summary: qt-assistant-4.6.1 doesn't install Qt4 documentation
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-14 15:02 UTC by Frédéric COIFFIER
Modified: 2010-03-18 17:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Compilation log (assistant.log,75.15 KB, text/plain)
2010-03-17 09:58 UTC, Frédéric COIFFIER
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric COIFFIER 2010-01-14 15:02:33 UTC
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*
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2010-01-15 17:21:31 UTC
install x11-libs/qt-assistant
Comment 2 Frédéric COIFFIER 2010-01-17 17:20:33 UTC
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 ?

Comment 3 Ben de Groot (RETIRED) gentoo-dev 2010-01-22 17:07:51 UTC
 % 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?
Comment 4 Frédéric COIFFIER 2010-01-22 17:34:49 UTC
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)
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2010-03-15 20:06:45 UTC
Same behavior with 4.6.2?
Comment 6 Frédéric COIFFIER 2010-03-17 08:14:07 UTC
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# 
Comment 7 Frédéric COIFFIER 2010-03-17 09:58:03 UTC
Created attachment 223983 [details]
Compilation log
Comment 8 Frédéric COIFFIER 2010-03-17 09:58:54 UTC
I've attached the compilation log.
You can see that .qch are built but they are not installed.
Comment 9 Markos Chandras (RETIRED) gentoo-dev 2010-03-18 17:29:41 UTC
>>> 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?
Comment 10 Frédéric COIFFIER 2010-03-18 17:47:25 UTC
Yes...

I've completely forgotten this flag.
I'm really sorry to have wasted your time...