• 5407阅读
  • 24回复

我是超级菜鸟,帮帮我! [复制链接]

上一主题 下一主题
离线xwl0765
 
只看楼主 倒序阅读 楼主  发表于: 2009-08-25
我安装了Qt SDK by Nokia v2009.03(open source)
按照提示安装完成后,我想编译测试程序,但是报错了,见第一张图1;


我按照提示去设置编译器,可是却不知道如何设置,图2,请哪位高手大侠,详细知道我一下! 谢谢各位!


离线dbzhang800

只看该作者 1楼 发表于: 2009-08-25
C:\qt\2009.03\qt
离线xwl0765
只看该作者 2楼 发表于: 2009-08-25

谢谢,可是还是不行,在哪里运行make呢?麻烦指导一下!
离线xwl0765
只看该作者 3楼 发表于: 2009-08-25

谢谢,可是还是不行,在哪里运行make呢?麻烦指导一下!
离线dbzhang800

只看该作者 4楼 发表于: 2009-08-25
不会吧,难道你只安装了 Qt creator,而没安装 Qt??

把你 C:\qt\2009.03\qt 和 C:\qt\2009.03的目录列一下看看?
离线xwl0765
只看该作者 5楼 发表于: 2009-08-25
楼上真是好人,这是我安装后的目录结构,谢谢!
离线dbzhang800

只看该作者 6楼 发表于: 2009-08-25
不应该呀,应该就是 C:\qt\2009.03\qt 这个目录

通过开始菜单打开

Qt SDK by Nokia v2009.03(open source)

Qt Command prompt

看看你的 qmkae
make 或 mingw32-make 都正常么?
离线zhangyujin78
只看该作者 7楼 发表于: 2009-08-25
还是在PATH 设置下比较好。。。
环境变量
离线iiiyyyhhhsss

只看该作者 8楼 发表于: 2009-08-25
这个问题我前天刚问过,最终解决了!请看最后那个回复:
http://www.qtcn.org/bbs/read.php?tid=21264&fpage=0&toread=&page=2


或者直接看
http://www.qtcn.org/bbs/read.php?tid=16151
离线xwl0765
只看该作者 9楼 发表于: 2009-08-25
是这个样子:看来还不行!
离线iiiyyyhhhsss

只看该作者 10楼 发表于: 2009-08-25
直接看
http://www.qtcn.org/bbs/read.php?tid=16151

对比那副图片,看看你自己的少了什么就加上去,便OK了
离线dbzhang800

只看该作者 11楼 发表于: 2009-08-25
哦,qt是正常的,遇到make的时候你就用mingw32-make代替就好了,或者把它重命名成 make

QtCreator的这个问题,到不清楚怎么回事。既然你机子上就安装了这一个Qt
直接设置环境变量 是 不错的主意。
离线iiiyyyhhhsss

只看该作者 12楼 发表于: 2009-08-25
搂主还没有解决吗?快看
http://www.qtcn.org/bbs/read.php?tid=16151
我当时也是这个原因,最让人郁闷!
离线xwl0765
只看该作者 13楼 发表于: 2009-08-25
引用第8楼iiiyyyhhhsss于2009-08-25 17:09发表的  :
这个问题我前天刚问过,最终解决了!请看最后那个回复:
http://www.qtcn.org/bbs/read.php?tid=21264&fpage=0&toread=&page=2
或者直接看
.......




我看了,还是不行,我在WinXp上,没有在Linux上,我感觉主要可能是环境变量的问题,哪位高手熟悉WinXp下的环境变量的设置?
离线dbzhang800

只看该作者 14楼 发表于: 2009-08-25
新建两个环境变量
QTDIR                           C:\Qt\2009.03\qt
QMAKESPEC              win32-g++

在环境变量path后添加:;set to C:\Qt\2009.03\qt\bin;C:\Qt\2009.03\mingw\bin
离线iiiyyyhhhsss

只看该作者 15楼 发表于: 2009-08-25
那或者你看http://p.99081.com/oscn/installation.html
选windows平台安装,看看,不过都是英文的,看着麻烦一点
离线xwl0765
只看该作者 16楼 发表于: 2009-08-25
引用第14楼dbzhang800于2009-08-25 17:27发表的  :
新建两个环境变量
QTDIR                           C:Qt2009.03qt
QMAKESPEC              win32-g++
在环境变量path后添加:;set to C:Qt2009.03qtbin;C:Qt2009.03mingwbin

===============
按照您的提示,重新设置了环境变量,然后在cmd下运行configure,之后按照提示,现在正在编译,这么来说,我得安装只是将文件安装到机器上,并没有进行编译,所以找不到编译器。编译好像很慢,等编译完了再看是否能行!

感谢各位高手的指点!

--------------------
呵呵,好像马上编译完了,前面的屏显好像看不到了,把后面的粘贴出来给大家看看:

EAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptecmacore.cpp
g++ -c -oqscriptecmadate.o -O -I. -Igenerators -Igenerators/unix -Igenerators/wi
n32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCor
e -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03\q
t/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mksp
ecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_N
O_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT
_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTR
EAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptecmadate.cpp
g++ -c -oqscriptecmafunction.o -O -I. -Igenerators -Igenerators/unix -Igenerator
s/win32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/Q
tCore -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.
03\qt/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/
mkspecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -D
QT_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP
-DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DAT
ASTREAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptecmafuncti
on.cpp
g++ -c -oqscriptecmaglobal.o -O -I. -Igenerators -Igenerators/unix -Igenerators/
win32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtC
ore -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03
\qt/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mk
specs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT
_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -D
QT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATAS
TREAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptecmaglobal.c
pp
g++ -c -oqscriptecmamath.o -O -I. -Igenerators -Igenerators/unix -Igenerators/wi
n32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCor
e -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03\q
t/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mksp
ecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_N
O_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT
_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTR
EAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptecmamath.cpp
g++ -c -oqscriptecmanumber.o -O -I. -Igenerators -Igenerators/unix -Igenerators/
win32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtC
ore -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03
\qt/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mk
specs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT
_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -D
QT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATAS
TREAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptecmanumber.c
pp
g++ -c -oqscriptecmaobject.o -O -I. -Igenerators -Igenerators/unix -Igenerators/
win32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtC
ore -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03
\qt/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mk
specs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT
_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -D
QT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATAS
TREAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptecmaobject.c
pp
g++ -c -oqscriptecmaregexp.o -O -I. -Igenerators -Igenerators/unix -Igenerators/
win32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtC
ore -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03
\qt/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mk
specs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT
_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -D
QT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATAS
TREAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptecmaregexp.c
pp
g++ -c -oqscriptecmastring.o -O -I. -Igenerators -Igenerators/unix -Igenerators/
win32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtC
ore -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03
\qt/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mk
specs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT
_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -D
QT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATAS
TREAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptecmastring.c
pp
g++ -c -oqscriptecmaerror.o -O -I. -Igenerators -Igenerators/unix -Igenerators/w
in32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCo
re -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03\
qt/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mks
pecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_
NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQ
T_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATAST
REAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptecmaerror.cpp

g++ -c -oqscriptcontext_p.o -O -I. -Igenerators -Igenerators/unix -Igenerators/w
in32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCo
re -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03\
qt/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mks
pecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_
NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQ
T_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATAST
REAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptcontext_p.cpp

g++ -c -oqscriptengine.o -O -I. -Igenerators -Igenerators/unix -Igenerators/win3
2 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore
-IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03\qt/
src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mkspec
s/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_
PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_B
UILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREA
M -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptengine.cpp
g++ -c -oqscriptengine_p.o -O -I. -Igenerators -Igenerators/unix -Igenerators/wi
n32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCor
e -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03\q
t/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mksp
ecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_N
O_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT
_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTR
EAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptengine_p.cpp
g++ -c -oqscriptengineagent.o -O -I. -Igenerators -Igenerators/unix -Igenerators
/win32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/Qt
Core -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.0
3\qt/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/m
kspecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQ
T_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -
DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATA
STREAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptengineagent
.cpp
g++ -c -oqscriptextenumeration.o -O -I. -Igenerators -Igenerators/unix -Igenerat
ors/win32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include
/QtCore -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\200
9.03\qt/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\q
t/mkspecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT
-DQT_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CP
P -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_D
ATASTREAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptextenume
ration.cpp
g++ -c -oqscriptextvariant.o -O -I. -Igenerators -Igenerators/unix -Igenerators/
win32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtC
ore -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03
\qt/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mk
specs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT
_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -D
QT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATAS
TREAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptextvariant.c
pp
g++ -c -oqscriptcontext.o -O -I. -Igenerators -Igenerators/unix -Igenerators/win
32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore
-IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03\qt
/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mkspe
cs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO
_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_
BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTRE
AM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptcontext.cpp
g++ -c -oqscriptcontextinfo.o -O -I. -Igenerators -Igenerators/unix -Igenerators
/win32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/Qt
Core -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.0
3\qt/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/m
kspecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQ
T_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -
DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATA
STREAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptcontextinfo
.cpp
g++ -c -oqscriptfunction.o -O -I. -Igenerators -Igenerators/unix -Igenerators/wi
n32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCor
e -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03\q
t/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mksp
ecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_N
O_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT
_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTR
EAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptfunction.cpp
g++ -c -oqscriptgrammar.o -O -I. -Igenerators -Igenerators/unix -Igenerators/win
32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore
-IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03\qt
/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mkspe
cs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO
_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_
BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTRE
AM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptgrammar.cpp
g++ -c -oqscriptlexer.o -O -I. -Igenerators -Igenerators/unix -Igenerators/win32
-Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -
IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03\qt/s
rc/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mkspecs
/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_P
CRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BU
ILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM
-DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptlexer.cpp
g++ -c -oqscriptclassdata.o -O -I. -Igenerators -Igenerators/unix -Igenerators/w
in32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCo
re -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03\
qt/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mks
pecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_
NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQ
T_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATAST
REAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptclassdata.cpp

g++ -c -oqscriptparser.o -O -I. -Igenerators -Igenerators/unix -Igenerators/win3
2 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore
-IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03\qt/
src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mkspec
s/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_
PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_B
UILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREA
M -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptparser.cpp
g++ -c -oqscriptprettypretty.o -O -I. -Igenerators -Igenerators/unix -Igenerator
s/win32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/Q
tCore -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.
03\qt/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/
mkspecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -D
QT_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP
-DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DAT
ASTREAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptprettypret
ty.cpp
g++ -c -oqscriptsyntaxchecker.o -O -I. -Igenerators -Igenerators/unix -Igenerato
rs/win32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/
QtCore -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009
.03\qt/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt
/mkspecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -
DQT_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP
-DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DA
TASTREAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptsyntaxche
cker.cpp
g++ -c -oqscriptclass.o -O -I. -Igenerators -Igenerators/unix -Igenerators/win32
-Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -
IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03\qt/s
rc/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mkspecs
/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_P
CRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BU
ILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM
-DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptclass.cpp
g++ -c -oqscriptclasspropertyiterator.o -O -I. -Igenerators -Igenerators/unix -I
generators/win32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/
include/QtCore -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:
\Qt\2009.03\qt/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\20
09.03\qt/mkspecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COM
PONENT -DQT_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCO
NFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -D
QT_NO_DATASTREAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptc
lasspropertyiterator.cpp
g++ -c -oqscriptstring.o -O -I. -Igenerators -Igenerators/unix -Igenerators/win3
2 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore
-IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03\qt/
src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mkspec
s/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_
PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_B
UILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREA
M -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptstring.cpp
g++ -c -oqscriptvalue.o -O -I. -Igenerators -Igenerators/unix -Igenerators/win32
-Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -
IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03\qt/s
rc/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mkspecs
/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_P
CRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BU
ILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM
-DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptvalue.cpp
g++ -c -oqscriptvalueimpl.o -O -I. -Igenerators -Igenerators/unix -Igenerators/w
in32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCo
re -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009.03\
qt/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt/mks
pecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_
NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQ
T_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATAST
REAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptvalueimpl.cpp

g++ -c -oqscriptvalueiterator.o -O -I. -Igenerators -Igenerators/unix -Igenerato
rs/win32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/
QtCore -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\2009
.03\qt/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.03\qt
/mkspecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -
DQT_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP
-DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DA
TASTREAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptvalueiter
ator.cpp
g++ -c -oqscriptvalueiteratorimpl.o -O -I. -Igenerators -Igenerators/unix -Igene
rators/win32 -Igenerators/mac -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/incl
ude/QtCore -IC:\Qt\2009.03\qt/include -IC:\Qt\2009.03\qt/include/QtCore -IC:\Qt\
2009.03\qt/src/corelib/global -IC:\Qt\2009.03\qt/include/QtScript -IC:\Qt\2009.0
3\qt/mkspecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONE
NT -DQT_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG
_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_N
O_DATASTREAM -DQMAKE_OPENSOURCE_EDITION C:\Qt\2009.03\qt/src/script/qscriptvalue
iteratorimpl.cpp
g++  -o qmake.exe project.o main.o makefile.o unixmake.o unixmake2.o mingw_make.
o option.o winmakefile.o projectgenerator.o property.o meta.o makefiledeps.o met
amakefile.o xmloutput.o pbuilder_pbx.o borland_bmake.o msvc_nmake.o msvc_dsp.o m
svc_vcproj.o msvc_objectmodel.o qbitarray.o qbuffer.o qbytearray.o qcryptographi
chash.o qvsnprintf.o qbytearraymatcher.o qconfig.o qdatetime.o qdir.o qdiriterat
or.o qfile.o qtemporaryfile.o qfileinfo.o qabstractfileengine.o qfsfileengine.o
qfsfileengine_iterator.o qfsfileengine_win.o qfsfileengine_iterator_win.o qgloba
l.o qhash.o qiodevice.o qlibraryinfo.o qlistdata.o qlinkedlist.o qlocale.o qmall
oc.o qmap.o qregexp.o qstring.o qstringlist.o qtextstream.o quuid.o qvector.o qu
rl.o qsettings.o qsettings_win.o qvariant.o qmetatype.o qnumeric.o qscriptasm.o
qscriptast.o qscriptastvisitor.o qscriptcompiler.o qscriptecmaarray.o qscriptecm
aboolean.o qscriptecmacore.o qscriptecmadate.o qscriptecmafunction.o qscriptecma
global.o qscriptecmamath.o qscriptecmanumber.o qscriptecmaobject.o qscriptecmare
gexp.o qscriptecmastring.o qscriptecmaerror.o qscriptcontext_p.o qscriptengine.o
qscriptengine_p.o qscriptengineagent.o qscriptextenumeration.o qscriptextvarian
t.o qscriptcontext.o qscriptcontextinfo.o qscriptfunction.o qscriptgrammar.o qsc
riptlexer.o qscriptclassdata.o qscriptparser.o qscriptprettypretty.o qscriptsynt
axchecker.o qscriptclass.o qscriptclasspropertyiterator.o qscriptstring.o qscrip
tvalue.o qscriptvalueimpl.o qscriptvalueiterator.o qscriptvalueiteratorimpl.o -l
ole32 -luuid
copy qmake.exe C:\Qt\2009.03\qt\bin\qmake.exe
已复制         1 个文件。
Creating makefiles in src...
Generating Makefiles...
Reading C:/Qt/2009.03/qt/src/winmain/winmain.pro
Reading C:/Qt/2009.03/qt/src/tools/bootstrap/bootstrap.pro
Reading C:/Qt/2009.03/qt/src/tools/moc/moc.pro
Reading C:/Qt/2009.03/qt/src/tools/rcc/rcc.pro
Reading C:/Qt/2009.03/qt/src/tools/uic/uic.pro
Reading C:/Qt/2009.03/qt/src/corelib/corelib.pro
Reading C:/Qt/2009.03/qt/src/xml/xml.pro
Reading C:/Qt/2009.03/qt/src/network/network.pro
Reading C:/Qt/2009.03/qt/src/gui/gui.pro
Reading C:/Qt/2009.03/qt/src/sql/sql.pro
Reading C:/Qt/2009.03/qt/src/script/script.pro
Reading C:/Qt/2009.03/qt/src/testlib/testlib.pro
Reading C:/Qt/2009.03/qt/src/qt3support/qt3support.pro
Reading C:/Qt/2009.03/qt/src/tools/uic3/uic3.pro
Reading C:/Qt/2009.03/qt/src/activeqt/activeqt.pro
Reading C:/Qt/2009.03/qt/src/activeqt/container/container.pro
Reading C:/Qt/2009.03/qt/src/activeqt/control/control.pro
Reading C:/Qt/2009.03/qt/src/tools/idc/idc.pro
Reading C:/Qt/2009.03/qt/src/opengl/opengl.pro
Reading C:/Qt/2009.03/qt/src/xmlpatterns/xmlpatterns.pro
Reading C:/Qt/2009.03/qt/src/svg/svg.pro
Reading C:/Qt/2009.03/qt/src/3rdparty/webkit/WebCore/WebCore.pro



还没有完成,在等待中。。。。。。
离线dbzhang800

只看该作者 17楼 发表于: 2009-08-25
这个,不需要重新编译的。重新编译一次的话,时间还是比较长的。从你贴出来的看,才刚刚编译出 新的qmake
离线xwl0765
只看该作者 18楼 发表于: 2009-08-25
啊,这么说我又错了?那如何设置呢?
离线dbzhang800

只看该作者 19楼 发表于: 2009-08-25
不用专门的设置,应该可以直接用了。或者你去看看你的qtcreator能不能设置Qt了
离线xwl0765
只看该作者 20楼 发表于: 2009-08-25
现在那个编译还没有结束,如下图:

但是在qtcreator中的Options已经打绿勾了:

然而,当我执行Build All 时,任然报和一楼第一张图一样的错误:
离线iiiyyyhhhsss

只看该作者 21楼 发表于: 2009-08-25
你下面那个默认版本Default Qt Version的选项还没有改呢,我不是说了有什么不同的地方你都改过来吗?把整个页面改得跟它的一莫一样就OK了
其实一开始就是这个问题,之前我给你的那个帖子就完全可以解决你那个问题了,是你自己没有领悟....
[ 此帖被iiiyyyhhhsss在2009-08-25 19:57重新编辑 ]
离线xwl0765
只看该作者 22楼 发表于: 2009-08-26
21楼的哥们说得非常对,怪我是新手,没有领悟。今天早上来了以后,重新启动机器,改变设置,结果可以了。感谢各位热心朋友的帮助!
离线xwl0765
只看该作者 23楼 发表于: 2009-08-26
感谢各位,hello world 测试通过!
离线iiiyyyhhhsss

只看该作者 24楼 发表于: 2009-08-26
呵呵,我也是新手....
快速回复
限100 字节
 
上一个 下一个