How can I convert existing vcproj files to project files that the QT add-in to Visual Studio recognizes and treats as valid Qt projects?
Should I just bite the bull
I use Qt VS Tools instead of Qt VS Add-in.
In the .vcxproj file, make the following modifications:
Add
into
(in accord with Benjamin's answer).
Add the following element into
(the root element):
Note that the value of the attribute Qt5Version_x0020_x64
should match the name of a Qt version in Qt VS Tools. You may set an arbitrary value and then fix it in Qt Project Settings in Visual Studio.
When I follow Benjamin's answer and try to "Convert project to Qt VS Tools project", Visual Studio gets stuck.
The only Qt specific functionality I've tried with the project is exporting a .pri file.
I have reverse engineered the necessary modifications from a fresh VS project created using the template Qt GUI Application.