Search code examples
c++visual-studioqtqt-vs-addin

Where to find the .pro file when developing with visual studio?


I want to add sound to my program so I need to add header file QSound.

To add the header file, I need to modify the .pro file.

The problem is, I use visual studio to develop projects, so I can't find the .pro file.


Solution

  • If you're using Qt VS Tools, use Create Basic .pro File from extensions menu. Note that .pro and .vcxproj files might not be in sync so if possible use Qt Creator to configure your project in the .pro file and then open the project in visual studio via Open Qt Project File