Bug 189907

Summary: Qt Help Plugin doesn't find KDE documentation
Product: [Applications] kdevelop Reporter: Thomas McGuire <mcguire>
Component: Documentation viewerAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol
Priority: HI    
Version: unspecified   
Target Milestone: 4.0.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas McGuire 2009-04-17 20:02:48 UTC
Version:           3.9.92 (using KDevPlatform 0.9.92) (using 4.2.70 (KDE 4.2.70 (KDE 4.3 >= 20090415)), compiled sources)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.21-0.1-default

I have generated KDE documentation in the Qt .qch format as described here, and added that qch to assistant. Now my KDE documentation shows up in assistant nicely.

However, it doesn't seem to work in KDevelop, the "Show documentation for xyz" link is not shown for KDE classes.
Comment 1 Thomas McGuire 2009-04-17 20:03:48 UTC
The link for the page is http://techbase.kde.org/Development/Tools/apidox#Qt_Assistant.
Comment 2 Thomas McGuire 2009-04-17 21:30:07 UTC
Could it be that KDevelop looks for .qch only in standard dirs, and therefore finds the Qt ones, but not the KDE one?

In this case, it should either:
1. Use the config of the assistant, where I already configured the additional 
   .qch
2. Provide its own config dialog to add and remove qchs
Comment 3 Aleix Pol 2009-04-18 03:29:57 UTC
I made it to load all the .qch files in the "qmake -query QT_INSTALL_DOCS" directory.

The techbase doc says to look at $MANPAGES but it's empty on my system so I'm not sure it's really useful. For now you could try to put it there and check if it works. If it doesn't I'll generate it and give it a try.

Thanks for testing!
Comment 4 Thomas McGuire 2009-04-18 13:49:01 UTC
I tried to copy the KDE qch file to QT_INSTALL_DOCS/qch, but still KDevelop did not show it.

Not sure what you mean with $MANPAGES, that is not mentioned in the wiki page I linked to.
Comment 5 Milian Wolff 2010-12-23 13:41:42 UTC
kdev 4.2 has a nice kcm to add custom .qch files
Comment 6 Thomas McGuire 2010-12-24 16:30:30 UTC
Ah, very easy now to manage QCH files, good work.