How to generate .sln/.vcproj using qmake

前端 未结 4 2002
别跟我提以往
别跟我提以往 2020-12-08 08:23

I have main.cpp in c:\\test folder and do the following:

qmake -project
qmake -tp vc test.pro

The answer is:

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-08 09:03

    I would suggest you use the following line :

    qmake -tp vc Test.pro -o Test.vcproj

    If you start a new project, I would really recommend you to test this scrits package... A friend of mine wrote them and they are excellent ! Take 10 minutes to read how to create them, and in no time, you'll have all the scripts you need to create PRO, VCPROJ and build in one command...

    http://www.dprog.net/joomla/index.php?option=com_content&view=article&id=39:qt-integration-scripts&catid=32:qt-integration-scripts&Itemid=47

提交回复
热议问题