You are talking about your docs being a bunch-o-files in a folder on the disc: this is not the same as Qt Assistant in which all the pages are shipped in one Sqlite database.
You can do this using a handler for a custom url scheme handler (e.g. docs://... rather than http://) for a QNetworkAccessManager you attach to your browser component. I expect this is how the qrc:// scheme and Assistant's qthelp:// is done. See http://doc.qt.nokia.com/qq/32/qq32-w...protocols.html for the basic framework. I have done something like this to support an offline tile map cache: it does not take a lot of code. If you are careful to use relative links within your docs it could be browsable from a standard browser directly (useful for docs authoring) or through the embedded WebKit browser (indirectly).
It is, of course, easier just to ship the docs with the product.




Reply With Quote

Bookmarks