2

We're running one of our apps on a 8" touch screen and want to add help to it.

Launching Qt Assistant from a menu item works fine for desktop applications, but for touch applications it's far from ideal.

I haven't been able to figure out if it is possible, or permitted to do so?

QAssistant.exe itself seems to come with some license restrictions, but maybe there's another way to do this, like embedding a small web-browser or something.

Have anyone else tackled this, or something similar?

Rubén
  • 34,714
  • 9
  • 70
  • 166
Macke
  • 24,812
  • 7
  • 82
  • 118

3 Answers3

4

Check out how QtCreator does this, they have integrated QtHelp which looks exactly like what you're trying to do. The library they use for that is the QtHelp module (I think).

rubenvb
  • 74,642
  • 33
  • 187
  • 332
  • Thanks. Will look closer. The exact sources are here: http://qt.gitorious.org/qt-creator/qt-creator/trees/master/src/shared/help and they indeed use the QtHelp library (like Yigi said). Actually displaying the help-HTML should be done with QtWebKit or something, I assume? – Macke Jan 04 '11 at 20:51
  • I'm accepting this, since looking at the source of some other implementation is the right direction to go. Thanks! (Also, QWebView is used by Qt Assistant, so I was right in that sense..) – Macke Jan 04 '11 at 20:59
4

You should check the documentation for QHelpEngine and QHelpContentWidget. I think that these classes will meet your needs.

2

Another way would be to actually see how Qt Assistant is implemented, by looking at the source.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Macke
  • 24,812
  • 7
  • 82
  • 118