On Tuesday 27 October 2009 09:09:39 ext Jens Frederich wrote:
> Hi list,
> 
> I want to add an external html page to qtcreator's help system, so that I
>  can integrate other API documentations. As a result it could also be
>  possible to search through the external documentation and to use F1 to
>  jump to the description of methods and classes outside of Qt4 API.
> Is it already possible to use external HTML pages in the help system or how
>  can I convert them to a QCH-file?

Theoretically it should be possible, though I'm not sure anyone has done that 
yet. I'd be interested if it works, too.
See http://doc.trolltech.com/4.5/qthelp.html#qt-help-collection-project on how 
to generate Qt Compressed Help files. (Ignore the help collection stuff, that's 
not needed for Creator.) Then register that documentation in Creator under 
Tools/Options.

The code in Creator actually showing the F1 help is in void 
CppHoverHandler::updateHelpIdAndTooltip() which does call 
QHelpEngine::linksForIdentifier(m_helpId) at the end. 

You might want to add a qDebug()<<m_helpId before that to get an idea what the 
id should look like for different constructs. That id is the id specified in 
the 
keywords section of the help project.

Let us know whether that works for you.

daniel
_______________________________________________
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to