Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258088 - qt-core with USE="doc" does not install qdoc3
Summary: qt-core with USE="doc" does not install qdoc3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-08 08:54 UTC by Franz Trischberger
Modified: 2009-02-08 23:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Trischberger 2009-02-08 08:54:13 UTC
I stumbled upon this when trying to install qt-creator.
As there aren't differences in handling the doc-USE-Flag in qt-core in qt-core-4.5.0_rc1::qting-edge and 4.4.2-r1::gentoo I think this problem also applies to qt-core from portage.

The problem is, that the tool "qdoc3" get's built but not installed.
The solution is to add the "dobin"-line in src_install similar to this:

###
if use doc; then
        emake INSTALL_ROOT="${D}" install_htmldocs || die "emake install_htmldocs failed."
        dobin "${S}"/tools/qdoc3/qdoc3 || die "dobin qdoc3 failed"
fi
###

As mentioned i did this with 4.5.0_rc1, but the problem should be the same with 4.4.2 from portage.

Reproducible: Always
Comment 1 Franz Trischberger 2009-02-08 11:23:54 UTC
OK, I checked it (though I did not want to do the downgrade...) and really qdoc3 does not get installed with qt-core-4.4.2-r1 from portage, though doc-flag is set.

Just tried it to validate the problem.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2009-02-08 23:05:37 UTC
Thanks for reporting

This issue has been fixed on overlay. qdoc3 is installed by qt-assistant and not qt-core module. 

We dont need to fix that on portage since no package requires qdoc3 binary.

As far as it concernes qt-creator , works only with Qt-4.5 and this fix is already applied on all qt-assisant-4.5* packages :)
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2009-02-08 23:06:15 UTC
I forgot to mention, that I am closing it since i think i answered your question. Feel free to re-open it if you still have issues :)

Thanks