<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[【原创】生成qt的vcproj文件及命令行编译(qt for VC 第二章)]]></title>
 <link><![CDATA[http://www.qtcn.org/bbs/read-htm-tid-2711.html]]></link>
 <description><![CDATA[最新回复]]></description>
 <copyright><![CDATA[Copyright(C) QTCN开发网]]></copyright>
 <generator><![CDATA[http://www.phpwind.com]]></generator>
 <lastBuildDate><![CDATA[Mon, 15 Jun 2026 10:32:24 +0000]]></lastBuildDate>
 <ttl><![CDATA[60]]></ttl>
 <pubDate><![CDATA[Wed, 29 Jul 2009 08:53:17 +0000]]></pubDate>
<item>
 <title><![CDATA[Re:【原创】生成qt的vcproj文件及命令行编译(qt for VC 第二章)]]></title>
 <description><![CDATA[你好，我用这个命令为什么只生成.rc文件，为什么不能生成.vcproj，总有警告]]></description>
 <link><![CDATA[http://www.qtcn.org/bbs/job.php?action=topost&tid=2711&pid=52273]]></link>
 <author><![CDATA[XChinux@163.com (haowensxsd)]]></author>
 <category><![CDATA[Qt基础编程]]></category>
 <pubDate><![CDATA[Wed, 29 Jul 2009 08:53:17 +0000]]></pubDate>
</item>
<item>
 <title><![CDATA[Re:【原创】生成qt的vcproj文件及命令行编译(qt for VC 第二章)]]></title>
 <description><![CDATA[用这种方法是可以生成vc项目文件，也可以通过nmake编译，但是不能导入vc，这是怎么回事？
本人用的是vs 2005]]></description>
 <link><![CDATA[http://www.qtcn.org/bbs/job.php?action=topost&tid=2711&pid=37698]]></link>
 <author><![CDATA[XChinux@163.com (thinke365)]]></author>
 <category><![CDATA[Qt基础编程]]></category>
 <pubDate><![CDATA[Tue, 10 Feb 2009 12:24:40 +0000]]></pubDate>
</item>
<item>
 <title><![CDATA[Re:【原创】生成qt的vcproj文件及命令行编译(qt for VC 第二章)]]></title>
 <description><![CDATA[按照该方法生成的vcproj无论如何也打不开...真让人郁闷。。。。。。]]></description>
 <link><![CDATA[http://www.qtcn.org/bbs/job.php?action=topost&tid=2711&pid=11536]]></link>
 <author><![CDATA[XChinux@163.com (rocky)]]></author>
 <category><![CDATA[Qt基础编程]]></category>
 <pubDate><![CDATA[Mon, 14 Aug 2006 06:43:48 +0000]]></pubDate>
</item>
<item>
 <title><![CDATA[Re:【原创】生成qt的vcproj文件及命令行编译(qt for VC 第二章)]]></title>
 <description><![CDATA[well done]]></description>
 <link><![CDATA[http://www.qtcn.org/bbs/job.php?action=topost&tid=2711&pid=8352]]></link>
 <author><![CDATA[XChinux@163.com (dotnetjack)]]></author>
 <category><![CDATA[Qt基础编程]]></category>
 <pubDate><![CDATA[Sat, 29 Apr 2006 04:27:43 +0000]]></pubDate>
</item>
<item>
 <title><![CDATA[Re:【原创】生成qt的vcproj文件及命令行编译(qt for VC 第二章)]]></title>
 <description><![CDATA[呵呵，我找到错误了

把这一句 &nbsp; qmake -tp vc -o callform.vcproj callform.pro
换成 &nbsp;  &nbsp;  qmake -t vcapp -o callform.vcproj callform.pro


还是要谢谢总版主
 <img src="http://www.qtcn.org/bbs/images/post/smile/wangwang/16.gif" />  <img src="http://www.qtcn.org/bbs/images/post/smile/wangwang/16.gif" />]]></description>
 <link><![CDATA[http://www.qtcn.org/bbs/job.php?action=topost&tid=2711&pid=7724]]></link>
 <author><![CDATA[XChinux@163.com (zh_qk)]]></author>
 <category><![CDATA[Qt基础编程]]></category>
 <pubDate><![CDATA[Sat, 15 Apr 2006 14:18:53 +0000]]></pubDate>
</item>
<item>
 <title><![CDATA[Re:【原创】生成qt的vcproj文件及命令行编译(qt for VC 第二章)]]></title>
 <description><![CDATA[你好，按你方法出现下面错误

D:\test&gt;qmake -tp vc -o test.vcproj test.pro
WARNING: Unable to generate output for: D:/test/test.vcproj.Debug [TEMPLATE vcap
p]
WARNING: Unable to generate output for: D:/test/test.vcproj.Release [TEMPLATE vc
app]

下面是我生成的test.vcproj
#############################################################################
# Makefile for building: test
# Generated by qmake (2.00a) (Qt 4.1.2) on: ??? ?? 15 21:15:13 2006
# Project:  test.pro
# Template: vcapp
# Command: qmake -tp vc -win32 -o test.vcproj test.pro
#############################################################################

first: debug
install: debug-install
uninstall: debug-uninstall
MAKEFILE &nbsp;  &nbsp; = test.vcproj
QMAKE &nbsp;  &nbsp;  &nbsp; = qmake
DEL_FILE &nbsp;  &nbsp; = del
CHK_DIR_EXISTS= if not exist
MKDIR &nbsp;  &nbsp;  &nbsp; = mkdir
COPY &nbsp;  &nbsp;  &nbsp;  = copy /y
COPY_FILE &nbsp;   = $(COPY)
COPY_DIR &nbsp;  &nbsp; = xcopy /s /q /y /i
INSTALL_FILE  = $(COPY_FILE)
INSTALL_DIR &nbsp; = $(COPY_DIR)
DEL_FILE &nbsp;  &nbsp; = del
SYMLINK &nbsp;  &nbsp;  = 
DEL_DIR &nbsp;  &nbsp;  = rmdir
MOVE &nbsp;  &nbsp;  &nbsp;  = move
CHK_DIR_EXISTS= if not exist
MKDIR &nbsp;  &nbsp;  &nbsp; = mkdir
SUBTARGETS &nbsp;  =  \
 &nbsp;  &nbsp;   debug \
 &nbsp;  &nbsp;   release

debug: $(MAKEFILE).Debug FORCE
 &nbsp;  $(MAKE) -f $(MAKEFILE).Debug
debug-make_default: $(MAKEFILE).Debug FORCE
 &nbsp;  $(MAKE) -f $(MAKEFILE).Debug 
debug-make_first: $(MAKEFILE).Debug FORCE
 &nbsp;  $(MAKE) -f $(MAKEFILE).Debug first
debug-all: $(MAKEFILE).Debug FORCE
 &nbsp;  $(MAKE) -f $(MAKEFILE).Debug all
debug-clean: $(MAKEFILE).Debug FORCE
 &nbsp;  $(MAKE) -f $(MAKEFILE).Debug clean
debug-distclean: $(MAKEFILE).Debug FORCE
 &nbsp;  $(MAKE) -f $(MAKEFILE).Debug distclean
debug-install: $(MAKEFILE).Debug FORCE
 &nbsp;  $(MAKE) -f $(MAKEFILE).Debug install
debug-uninstall: $(MAKEFILE).Debug FORCE
 &nbsp;  $(MAKE) -f $(MAKEFILE).Debug uninstall
release: $(MAKEFILE).Release FORCE
 &nbsp;  $(MAKE) -f $(MAKEFILE).Release
release-make_default: $(MAKEFILE).Release FORCE
 &nbsp;  $(MAKE) -f $(MAKEFILE).Release 
release-make_first: $(MAKEFILE).Release FORCE
 &nbsp;  $(MAKE) -f $(MAKEFILE).Release first
release-all: $(MAKEFILE).Release FORCE
 &nbsp;  $(MAKE) -f $(MAKEFILE).Release all
release-clean: $(MAKEFILE).Release FORCE
 &nbsp;  $(MAKE) -f $(MAKEFILE).Release clean
release-distclean: $(MAKEFILE).Release FORCE
 &nbsp;  $(MAKE) -f $(MAKEFILE).Release distclean
release-install: $(MAKEFILE).Release FORCE
 &nbsp;  $(MAKE) -f $(MAKEFILE).Release install
release-uninstall: $(MAKEFILE).Release FORCE
 &nbsp;  $(MAKE) -f $(MAKEFILE).Release uninstall

test.vcproj: test.pro  C:/qt/lib/4.1.2/mkspecs/default\qmake.conf C:/qt/lib/4.1.2/mkspecs/qconfig.pri \
 &nbsp;  &nbsp;   C:\qt\lib\4.1.2\mkspecs\features\qt_config.prf \
 &nbsp;  &nbsp;   C:\qt\lib\4.1.2\mkspecs\features\exclusive_builds.prf \
 &nbsp;  &nbsp;   C:\qt\lib\4.1.2\mkspecs\features\default_pre.prf \
 &nbsp;  &nbsp;   C:\qt\lib\4.1.2\mkspecs\features\win32\default_pre.prf \
 &nbsp;  &nbsp;   C:\qt\lib\4.1.2\mkspecs\features\debug.prf \
 &nbsp;  &nbsp;   C:\qt\lib\4.1.2\mkspecs\features\debug_and_release.prf \
 &nbsp;  &nbsp;   C:\qt\lib\4.1.2\mkspecs\features\default_post.prf \
 &nbsp;  &nbsp;   C:\qt\lib\4.1.2\mkspecs\features\win32\rtti.prf \
 &nbsp;  &nbsp;   C:\qt\lib\4.1.2\mkspecs\features\win32\exceptions.prf \
 &nbsp;  &nbsp;   C:\qt\lib\4.1.2\mkspecs\features\win32\stl.prf \
 &nbsp;  &nbsp;   C:\qt\lib\4.1.2\mkspecs\features\shared.prf \
 &nbsp;  &nbsp;   C:\qt\lib\4.1.2\mkspecs\features\warn_on.prf \
 &nbsp;  &nbsp;   C:\qt\lib\4.1.2\mkspecs\features\qt.prf \
 &nbsp;  &nbsp;   C:\qt\lib\4.1.2\mkspecs\features\win32\thread.prf \
 &nbsp;  &nbsp;   C:\qt\lib\4.1.2\mkspecs\features\moc.prf \
 &nbsp;  &nbsp;   C:\qt\lib\4.1.2\mkspecs\features\win32\windows.prf \
 &nbsp;  &nbsp;   C:\qt\lib\4.1.2\mkspecs\features\resources.prf \
 &nbsp;  &nbsp;   C:\qt\lib\4.1.2\mkspecs\features\uic.prf \
 &nbsp;  &nbsp;   C:\qt\lib\4.1.2\lib\qtmaind.prl
 &nbsp;  $(QMAKE) -tp vc -win32 -o test.vcproj test.pro
C:/qt/lib/4.1.2/mkspecs/qconfig.pri:
C:\qt\lib\4.1.2\mkspecs\features\qt_config.prf:
C:\qt\lib\4.1.2\mkspecs\features\exclusive_builds.prf:
C:\qt\lib\4.1.2\mkspecs\features\default_pre.prf:
C:\qt\lib\4.1.2\mkspecs\features\win32\default_pre.prf:
C:\qt\lib\4.1.2\mkspecs\features\debug.prf:
C:\qt\lib\4.1.2\mkspecs\features\debug_and_release.prf:
C:\qt\lib\4.1.2\mkspecs\features\default_post.prf:
C:\qt\lib\4.1.2\mkspecs\features\win32\rtti.prf:
C:\qt\lib\4.1.2\mkspecs\features\win32\exceptions.prf:
C:\qt\lib\4.1.2\mkspecs\features\win32\stl.prf:
C:\qt\lib\4.1.2\mkspecs\features\shared.prf:
C:\qt\lib\4.1.2\mkspecs\features\warn_on.prf:
C:\qt\lib\4.1.2\mkspecs\features\qt.prf:
C:\qt\lib\4.1.2\mkspecs\features\win32\thread.prf:
C:\qt\lib\4.1.2\mkspecs\features\moc.prf:
C:\qt\lib\4.1.2\mkspecs\features\win32\windows.prf:
C:\qt\lib\4.1.2\mkspecs\features\resources.prf:
C:\qt\lib\4.1.2\mkspecs\features\uic.prf:
C:\qt\lib\4.1.2\lib\qtmaind.prl:
qmake: qmake_all FORCE
 &nbsp;  @$(QMAKE) -tp vc -win32 -o test.vcproj test.pro

qmake_all: FORCE

make_default: debug-make_default release-make_default FORCE
make_first: debug-make_first release-make_first FORCE
all: debug-all release-all FORCE
clean: debug-clean release-clean FORCE
distclean: debug-distclean release-distclean FORCE
 &nbsp;  -$(DEL_FILE) test.vcproj

debug-mocclean: $(MAKEFILE).Debug
 &nbsp;  $(MAKE) -f $(MAKEFILE).Debug mocclean
release-mocclean: $(MAKEFILE).Release
 &nbsp;  $(MAKE) -f $(MAKEFILE).Release mocclean
mocclean: debug-mocclean release-mocclean

debug-mocables: $(MAKEFILE).Debug
 &nbsp;  $(MAKE) -f $(MAKEFILE).Debug mocables
release-mocables: $(MAKEFILE).Release
 &nbsp;  $(MAKE) -f $(MAKEFILE).Release mocables
mocables: debug-mocables release-mocables
FORCE:

$(MAKEFILE).Debug: test.vcproj
$(MAKEFILE).Release: test.vcproj



D:\test&gt;vcbuild
Microsoft (R) Visual C++ Project Builder - Command Line Version 7.10.3088.1
Copyright (C) Microsoft Corp 1993-2004. All rights reserved.

<span style="color:orangered ">Error: project file &#39;test.vcproj&#39; was not found or not a valid project file.</span>]]></description>
 <link><![CDATA[http://www.qtcn.org/bbs/job.php?action=topost&tid=2711&pid=7717]]></link>
 <author><![CDATA[XChinux@163.com (zh_qk)]]></author>
 <category><![CDATA[Qt基础编程]]></category>
 <pubDate><![CDATA[Sat, 15 Apr 2006 13:25:53 +0000]]></pubDate>
</item>
</channel></rss>