I have a QtCreator project file *.pro
How to convert it to Visual Studio 2008 project *.sln?
Qt Visual Studio Tools integrate the Qt development tools into Microsoft Visual Studio 2017. This enables developers to use the standard Windows development environment without having to worry about Qt-related build steps or tools.
pri file, select Extensions > Qt VS Tools > Export Project to . pri File. When you add or remove a file from the Visual Studio project file, you must regenerate the . pri file to ensure that the application can still be built on other platforms.
Under tools select Extensions and Updates. click the Online arrow on the left and search for Qt. Install the Qt Visual Studio Tools extension. Restart the Visual Studio 2019 IDE and under Qt VS Tools –> Qt Options add the Qt version 5.14 with associated directory C:\qt\5.14.
You can also use the qmake command to do this. Go to the project dir and type "qmake -tp vc".
Qt Creator / qmake can generate .vcproj files directly.
See this link
Put "TEMPLATE=vcapp" or "TEMPLATE=vclib" (as appropriate) in your .pro file and run qmake. That will generate a .vcproj file.
Edit: The link no longer worke, but I found an archive of it here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With