使用 mingw32-make 出现了问题,不知道是什么原因
D:\QT_Try\chap2>mingw32-make
mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `D:/QT_Try/chap2'
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
oc -mthreads -Wl -Wl,-subsystem,windows -o debug\chap2.exe -L"c:\Qt\2009.05\qt
\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4
c:\Qt\2009.05\qt\lib/libqtmaind.a(qtmain_win.o): In function `WinMain@16':
C:\qt-greenhouse\Trolltech\Code_less_create_more\Trolltech\Code_less_create_more
\Troll\4.6\qt\src\winmain/qtmain_win.cpp:131: undefined reference to `qMain(int,
char**)'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [debug\chap2.exe] Error 1
mingw32-make[1]: Leaving directory `D:/QT_Try/chap2'
mingw32-make: *** [debug] Error 2