首页| 论坛| 消息
主题:【最新下载】Qt library/Qt Creator
回帖:安装了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.
下一楼›:默认并没有带调试库,需要你自己Build Debug Library(在控制台到bin目录下的运行下面命令"q ..
‹上一楼:http://www.qtopia.org.cn/ftp/mirror/ftp.trolltech.com/
ftp://ftp.qtopia.org.cn/mirror/ ..

查看全部回帖(356)
«返回主帖