Exporting a Visual Studio Project to a Qt Project

I would like to export a Visual Studio project to a Qt project.

How to generate a file .pro

from a Visual Studio project? I installed the Qt add-on, but I didn't find such an option.

+3


source to share


1 answer


With the Visual Studio Qt plugin installed (can be downloaded from here ), simply:

  • Open your solution.

  • Select any Qt based project from your solution (or any file in that project).

  • Go to the menu Qt5 > Create basic .pro File...

    .

  • Select the projects you want to export.

  • Run qmake

    or open it from Qt Creator.



PS: depending on your VS and Qt versions, you may need an older version of the plugin. I am assuming Qt 5 is here.

Hope it helps.

+2


source







All Articles