回复: 【最新下载】Qt library/Qt Creator
#16 [sunlock 01-11 22:12]
就是没有MinGW,为什么啊?
#17 [XChinux 01-11 22:15]
下面是引用sunlock于2006-01-11 22:12发表的:
就是没有MinGW,为什么啊?
关于MinGW,可从下面的地址下载:
http://www.qtcn.org/download/devcpp-4.9.9.2_setup.exe
ftp://503.mygis.org:2200/Qt相关/devcpp-4.9.9.2_setup.exe
mingw包含在devcpp中的。
#18 [cavendish 02-23 18:31]
http://www.qtopia.org.cn/ftp/mirror/ftp.trolltech.com/
ftp://ftp.qtopia.org.cn/mirror/ftp.trolltech.com/
#19 [postbeerliu 03-02 17:53]
安装了windows版的QT(http://www.qtcn.org/download/qt-win-opensource-4.1.1-mingw.exe),发现不能生成调试版,只能生成release,make报的错误是无法链接调试库.
g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-subsystem,windows -o "debug\textedit.exe" debug\textedit.o debug\main.o debug\moc_textedit.o debug\qrc_textedit.o-L"e:\Qt\4.1.1\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4
C:\Dev-Cpp\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lqtmaind
collect2: ld returned 1 exit status
make[1]: *** Error 1
make[1]: Target `all' not remade because of errors.
make[1]: Leaving directory `F:/EclipseQTTextEdit/textedit'
make: *** Error 2
make: Target `all' not remade because of errors.
#20 [XChinux 03-02 17:56]
默认并没有带调试库,需要你自己Build Debug Library(在控制台到bin目录下的运行下面命令"qtvars.bat compile_debug")