在此页面

获取帮助

默认情况下,按F1 键时,Qt VS Tools 会尝试显示 Qt 在线文档。如果你经常在想要 Microsoft 文档的情况下却进入了 Qt 文档,请关闭此功能并使用默认快捷键Alt+F1。

要在按F1 键时访问微软文档,请

  1. 转到Extensions >Qt VS Tools >Options >Qt >General >Help 。

    Qt 常规选项中的帮助

  2. 将Try Qt documentation when F1 is pressed 设置为False 。

访问离线帮助

要阅读随 Qt 版本提供的文档,而不是最新的在线版本,请将Preferred source 设置为Offline 。

更改 Qt 在线帮助快捷键

为 Qt 在线帮助设置另一个快捷键:

  1. 转到Tools >Options >Environment >Keyboard 。

    环境选项中的键盘

  2. 在Show commands containing 中,输入Help.F1Help。
  3. 选择Press shortcut keys ,然后按您喜欢的键将它们添加到字段中。
  4. 选择Assign ,然后选择OK 。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.