How to generate vcproj file from .pro file

From Qt Wiki
Revision as of 15:46, 14 January 2015 by Maintenance script (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

English 简体中文

If you simply have bunch of header file and source file, it is very easy to generate .pro file,you dont need to add each file name in .pro.

what you need to do is put all those files in on folder, using command prompt set your qmake version in path and do following

qmake -project
Above command will create a project file .pro it will name it as of parent folder name.

qmake -tp vc test.pro
The above command will generate vcproj or dsp file depending up on what MSVS version you have.
You can also add your vcproj file name using -o option.

For more details and other features Visit this page [doc.qt.nokia.com].

Categories: