问题描述
我在 c:\test
文件夹中有 main.cpp
并执行以下操作:
I have main.cpp
in c:\test
folder and do the following:
qmake -project
qmake -tp vc test.pro
答案是:
WARNING: Unable to generate output for: C:/test//Makefile.Debug [TEMPLATE vcapp]
WARNING: Unable to generate output for: C:/test//Makefile.Release [TEMPLATE vcapp]
但是,我不需要制作文件.我需要 .vcproj!
But, I don't need make files. I need .vcproj!
环境:Windows XP Pro SP3、MSVC 7.1 和 8.0.Qt 安装在C:\Qt\2010.02
(LGPL 版本).命令从 Qt 命令提示符运行.
Environment: Windows XP Pro SP3, MSVC 7.1 and 8.0. Qt is installed in C:\Qt\2010.02
(LGPL version). Commands are run from Qt Command Prompt.
这是怎么回事?如何生成.sln/.vcproj?我可以为 MSVC 7.1 和 8.0 生成它们吗?
What's wrong with it? How to generate .sln/.vcproj? May I generate them for MSVC 7.1 and 8.0?
推荐答案
我似乎安装了不支持 MSVC(仅限 MinGW)的包.准备下载资源并根据 this 和 那个.
It seems I've installed bundle that doesn't support MSVC (MinGW only). Going to download sources and install Qt according to this and that.
这篇关于如何使用 qmake 生成 .sln/.vcproj的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!