是否可以将 Qt Assistant 作为小部件嵌入到我的应用程序中?
我们正在 8 英寸触摸屏上运行我们的一个应用程序,并希望为其添加帮助。
从菜单项启动 Qt Assistant 对于桌面应用程序来说效果很好,但对于触摸应用程序来说还很不理想。
我还没有能够弄清楚是否可能或允许这样做?
QAssistant.exe 本身似乎有一些许可证限制,但也许还有另一种方法可以做到这一点,比如嵌入一个小型网络浏览器或其他东西
。 ,或类似的东西?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
看看 QtCreator 是如何做到这一点的,他们集成了 QtHelp,看起来与您想要的完全一样做。他们使用的库是 QtHelp 模块(我认为)。
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).
您应该检查 QHelpEngine 和 QHelpContentWidget 的文档。我认为这些课程能够满足您的需求。
You should check the documentation for QHelpEngine and QHelpContentWidget. I think that these classes will meet your needs.
另一种方法是通过查看源代码来实际了解 Qt Assistant 是如何实现的。
Another way would be to actually see how Qt Assistant is implemented, by looking at the source.