用
qmake -project
qmake
make
出现如下错误:
mingw32-make -f Makefile.Debug all
mingw32-make[1]: Entering directory `C:/Qt/examples/tutorial/Hello'
g++ -c -g -g -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"C:/Qt/includ
e/QtCore" -I"C:/Qt/include/QtGui" -I"C:/Qt/include" -I"." -I"C:/Qt/include/Activ
eQt" -I"tmp\moc\debug_shared" -I"." -I"C:/Qt/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\Hello.exe" tmp\obj\debug_share
d\main.o -L"C:\Qt\lib" -L"C:\Qt\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4
c:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot fin
d -lQtGuid4
collect2: ld returned 1 exit status
mingw32-make[1]: *** [debug\Hello.exe] Error 1
mingw32-make[1]: Leaving directory `C:/Qt/examples/tutorial/Hello'
mingw32-make: *** [debug-all] Error 2