安装了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]: *** [debug\textedit.exe] Error 1
make[1]: Target `all' not remade because of errors.
make[1]: Leaving directory `F:/EclipseQTTextEdit/textedit'
make: *** [debug-all] Error 2
make: Target `all' not remade because of errors.