开发者

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".

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜