[Qt-interest] QHelpEngine help request

Bernhard Friedreich friesoft at gmail.com
Sun Apr 5 10:51:57 CEST 2009


Hey!

I'm currently trying to create a small little app for displaying some 
HTML help content (maybe with some CSS magic). An earlier version relied 
on QtAssistant but it was a real pain FOR ME to get it working on all 
platforms because of the paths I had to adjust according to the platform.

So I thought I'd give QHelpEngine and the new QtHelp module a try... 
well.. I sort of tried.. I didn't find a single example on how to use it 
:-( Not very Qt like imo.. at least an example should have been shipped...

I also tried looking into the Assistant code... hm.. where's the source 
of assistant.. maybe I am blind but I wasn't able to find the source in 
the src directory... I even tried looking into the KDevelop source which 
I found out through googling uses the QHelpEngineCore for the Qt 
documentation.. didn't find anything useful for me.. I want just a small 
little example on how to use it...

So.. what I want to achieve is a little program displaying a help 
collection with a fixed set of html files (it doesn't need to 
dynamically load anything). The help file (the compressed thingy) will 
be included in the resource file (for convenience with paths). I'd like 
to have a view for the HTML page, an index and a search/filter.

I tried the QHelpEngine with those widgets but adding them doesn't show 
anything :-(

I would really appreciate any help :-)

Best regards
Bernhard Friedreich



More information about the Qt-interest-old mailing list