标题:【提问】qt-win-opensource-4.1.0 安装问题
作者:snowbirdfly
日期:2005-12-26 13:37
内容:
文字文字文字
本人最近向学习一下QT~~
但是在安装的时候出现问题~~~
按照C:\Qt\EMigration 数据转移技术.htm
这个网页安装在调试一个简单程序的时候就会出错~~~
还有按照QT帮助文档安装也出现问题~~~
请那位大哥现在在学QT,请指点一下~~
小弟感谢不禁~~~
#1 [snowbirdfly 12-26 13:47]
C:\Qt\4.1.0\examples\tutorial\t1>qmake
C:\Qt\4.1.0\examples\tutorial\t1>make
mingw32-make -f Makefile.Debug all
mingw32-make[1]: Entering directory `C:/Qt/4.1.0/examples/tutorial/t1'
g++ -c -g -g -Wall -frtti -fexceptions -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_EDI
TION=QT_EDITION_DESKTOP -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT
-DQT_NEEDS_QMAIN -I"C:/Qt/4.1.0/include/QtCore" -I"C:/Qt/4.1.0/include/QtGui" -I
"C:/Qt/4.1.0/include" -I"C:/Qt/4.1.0/include/ActiveQt" -I"tmp\moc\debug_shared"
-I"." -I"C:/Qt/4.1.0/mkspecs/win32-g++" -o tmp\obj\debug_shared\main.o main.cpp
g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runt
ime-pseudo-reloc -Wl,-subsystem,windows -o "debug\t1.exe" tmp\obj\debug_shared\m
ain.o -L"C:\Qt\4.1.0\lib" -L"C:\Qt\4.1.0\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQ
tCored4
c:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot fin
d -lqtmaind
collect2: ld returned 1 exit status
mingw32-make[1]: *** Error 1
mingw32-make[1]: Leaving directory `C:/Qt/4.1.0/examples/tutorial/t1'
mingw32-make: *** Error 2
这个是出错原因显示~~~
#2 [snowbirdfly 12-26 18:44]
怎么没有人回答阿~~
郁闷阿`~~
#3 [XChinux 12-26 21:53]
你没有编译Qt Debug Library,所以你现在只能进行make release版的,而不能make debug版的。
#4 [snowbirdfly 12-26 23:19]
感谢楼上大哥回答~~
那么怎么才可以编译呢~~~
怎么才能make debug版~~~
我已经搞了好长时间,但是自己身边有没有人做~~
还有怎么和VC一起使用编译阿~~
感谢不禁~~~
#5 [XChinux 12-27 08:34]
使用VC的不知道,我只使用过mingw的。在开始菜单有项菜单叫“Build Debug Libraries"