进入Qt 4.8.2 Command Prompt 命令行,CD到文件所在目录 qmake -tp vc -o E:\Demo\hello.vcproj E:\Demo\hello.pro 格式为 qmake -tp vc -o <目标文件> <源文件>