开发者

Loading a Qt .pro file in VS2010 from the command line

开发者 https://www.devze.com 2023-03-06 18:46 出处:网络
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 po

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

精彩评论

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