PDA

View Full Version : Displaying HTML help



steg90
15th August 2007, 11:32
Hi,

What is a good way to display html, I want to display html pages for help in my application. I was thinking of just using QTextBrowser.

Any advice is appreciated,
Steve

jpn
15th August 2007, 11:35
Qt Assistant can be used as an application's help tool. See QAssistantClient and Simple Text Viewer Example (http://doc.trolltech.com/4.3/assistant-simpletextviewer.html) for more details.

steg90
15th August 2007, 12:00
Hi,

I'm using Visual Stuido 2005, how do I add CONFIG += assistant to my project as I don't have .pro file?

Regards,
Steve

jpn
15th August 2007, 12:47
Sorry, I don't know. Most likely all what is needed is to add a suitable include directory and link to the assistant client lib.

Anyway, it's a good practice to maintain a .pro file even if you use Visual Studio or anything else to maintain the project, because .pro file is cross-platform, .vcproj is not. You can always import a .pro file to Visual Studio.