帮助集成在Qt / C ++应用程序中 [英] Help Integration in Qt/C++ Application
问题描述
我使用 Qt 4.6
所以做C ++。
我有一个用户手册( .chm
帮助用户运行应用程序所需。现在,我希望此帮助集成到我的应用程序,以便当用户从应用程序中选择帮助时,用户手册将会打开相应的帮助页面显示 。以这种方式,我可以利用已经可用的手册,用户会发现很容易探索通过文档。 ()
用户手册文件位于 .chm
格式,其具有相应的搜索关键词,其可以用于在从应用中选择时显示相应的页面。类似于 F1
在任何Windows应用程序中的帮助。
Qt或C ++?或
帮助可以集成到应用程序中的其他方法是什么? >
有关这方面的任何指示都是欢迎的。
帮助系统基础架构旨在与Visual Studio中的正常Win32开发集成,但这在技术上不是必需的。基本上你只需调用 HtmlHelp(GetDesktopWindow(),Yourhelp.chm,HH_HELP_CONTEXT,IDYourCurrentContext);
。
I am using Qt 4.6
so do C++.
I have a User Manual (.chm
) for my application which has the help required for the users to run the application. Now I want this help to be integrated into my application, so that when the user selects for help from the application, the user manual will be opened with the corresponding help page displayed. In this way I can make use of the already available manual and users will find easy to probe through the document. (since it is familiar)
The user manual file is in the .chm
format which has corresponding search keywords, which can be used to display the corresponding page when selected from the application. Just similar to F1
help in any of the windows application.
Is it possible to do this in Qt or C++? Or
What are the other ways through which the help can be integrated in the application?
Any pointers regarding this are welcome..
Yes, it's possible. The help system infrastructure was designed to integrate with normal Win32 development in Visual Studio, but this is not technically necessary. Basically you just call HtmlHelp(GetDesktopWindow(), "Yourhelp.chm", HH_HELP_CONTEXT, IDYourCurrentContext);
.
这篇关于帮助集成在Qt / C ++应用程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!