Loading a Qt .pro file in VS2010 from the command line
Is there a way to load a .pro file as a VS 2010 solution from the Command line?
If the Qt AddIn is installed, we can open a .pro file as a Solution, from inside VS 2010. The question is if this is possi开发者_如何转开发ble from the Command Line.
Yes, use qmake -tp vc foo.pro to create a .vcproj file, then open that file with Visual Studio on the command line.
The "-tp vc" means "turn TEMPLATE=app into TEMPLATE=vcapp".
精彩评论