How to convert QtCreator project to Visual Studio project

前端 未结 3 1905
醉话见心
醉话见心 2021-02-01 17:32

I have a QtCreator project file *.pro

How to convert it to Visual Studio 2008 project *.sln?

3条回答
  •  悲&欢浪女
    2021-02-01 17:59

    It's now possible to open the .pro file directly from the Qt Visual Studio Tools extension. Visual Studio will then generate the necessary solution files. Currently the extension is available for VS2013, VS2015, VS2017 and VS2019.

    Step 1. Install the QT Visual Studio Extension. From the Marketplace, install the Qt Visual Studio Tools extension.

    Step 2. Import your .pro projects into Visual Studio. To do that, select the Qt VS Tools > Open Qt Project File (.pro) to let the extension create a VS solution and project from your existing Qt .pro file. More information on this is available in the Qt docs covering Qt project management in Visual Studio.

    Answer copied from this blog post: Bring your existing Qt projects to Visual Studio.

提交回复
热议问题