2

I developed an application using qtCreator and I figured out that I need to import the project in visual studio. I tried to run the visual studio add-in (1.1.9) but it didn't work. Knowing that I have visual c++ express edition 2010

Are there any workarounds?

Poka Yoke
  • 373
  • 3
  • 8
  • 27
  • when you say the add-in didn't worked, what was the problem? the add-in is very useful, it will automatically create a VS project using the Makefile (.pro) from the Qt project – Chenna V Aug 12 '11 at 20:11
  • it says the installer could not find an installation of visual studio 200x please note that visual c++ express is not supported – Poka Yoke Aug 13 '11 at 18:54

2 Answers2

3

QMake can generate vcproj out of .pro files. Use those to import into VS.

The option you are looking for is qmake -tp vc.

See: http://doc.qt.nokia.com/4.7/qmake-platform-notes.html

For more info see here: How to generate .sln/.vcproj using qmake Or: How to create a vcproj with qmake such that its filters reflect the directory structure?

Community
  • 1
  • 1
RedX
  • 14,749
  • 1
  • 53
  • 76
1

I solved the problem using Qt Add-in a detailed solution can be found at http://www.holoborodko.com/pavel/2011/02/01/how-to-compile-qt-4-7-with-visual-studio-2010/

Poka Yoke
  • 373
  • 3
  • 8
  • 27