How to generate vcproj file from .pro file/zh: Difference between revisions
Jump to navigation
Jump to search
AutoSpider (talk | contribs) (Convert ExpressionEngine links) |
AutoSpider (talk | contribs) m (AutoSpider moved page How to generate vcproj file from .pro file SimplifiedChinese to How to generate vcproj file from .pro file/zh: Localisation) |
Revision as of 15:35, 29 March 2015
This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine. Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean. |
简体中文 English
如果你有一堆的头文件和源文件,可以非常容易的产生.pro文件,你不需要手动添加每一个文件到.pro文件。
你需要做的是把这些文件放到一个目录里面,打开一个命令行窗口,设定好qmake路径,做如下操作:
qmake -project
上面的命令会生成一个Qt项目文件, 扩展名为.pro, 文件名为当前目录名。
qmake -tp vc test.pro
上面的命令会根据你使用的MSVS版本生成一个vcproj 或 dsp文件。 你可以用 -o命令行参数来指定vcproj文件名
关于更多qmake的详细信息和功能,访问 页面.