在此页面

加载 Qt 项目

如果你的 Qt 项目有.pro 文件,你可以用qmake 来构建它们,将它们加载到 Visual Studio 并转换成解决方案。然后,使用 Visual Studio 构建它们。

要在 Visual Studio 中打开 Qt 项目 (.pro),请访问Extensions >Qt VS Tools >Open Qt Project File (.pro) 。

查看转换报告

信息栏上的消息表示转换已完成。

项目格式转换完成信息

要查看 Qt VS Tools 所做的更改,请选择View report 。

项目格式转换报告

隐藏消息

要关闭有关完成转换的通知:

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

    Qt 常规选项中的通知

  2. 在CMake conversion confirmation 中,选择Disable 。

另请参阅 " 构建和配置构建"。

© 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.