How to import qt projects in visual c++ 2010?
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 visua开发者_开发技巧l c++ express edition 2010
Are there any workarounds?
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?
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/
精彩评论