hello.cpp:9:2: warning: no newline at end of file
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
oc -mthreads -Wl -Wl,-subsystem,windows -o debug\hello.exe tmp/obj/debug_shared/
hello.o -L"c:\Qt\4.4.3\lib" -L"c:\Program Files\SQLXML 4.0\bin\" -L"c:\Qt\4.4.3
\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4
tmp/obj/debug_shared/hello.o(.text+0x158): In function `Z5qMainiPPc':
C:/Qt/4.4.3/hello/hello.cpp:5: undefined reference to `_imp___ZN12QApplicationC1
ERiPPci'
tmp/obj/debug_shared/hello.o(.text+0x1ec):C:/Qt/4.4.3/hello/hello.cpp:6: undefin
ed reference to `_imp___ZN6QLabelC1ERK7QStringP7QWidget6QFlagsIN2Q t10WindowTypeE
E'
tmp/obj/debug_shared/hello.o(.text+0x2b2):C:/Qt/4.4.3/hello/hello.cpp:8: undefin
ed reference to `_imp___ZN12QApplication4execEv'
tmp/obj/debug_shared/hello.o(.text+0x2cf):C:/Qt/4.4.3/hello/hello.cpp:8: undefin
ed reference to `QApplication::~QApplication()'
tmp/obj/debug_shared/hello.o(.text+0x2fe):C:/Qt/4.4.3/hello/hello.cpp:8: undefin
ed reference to `QApplication::~QApplication()'
tmp/obj/debug_shared/hello.o(.text$_ZN7QStringD1Ev[QString::~QString()]+0x20): I
n function `ZSt3minIjERKT_S2_S2_':
C:/Qt/4.4.3/hello/../include/QtCore/../../src/corelib/tools/qstring.h: undefined
reference to `_imp___ZN7QString4freeEPNS_4DataE'
tmp/obj/debug_shared/hello.o(.text$_ZN7QStringC1EPKc[QString::QString(char const
*)]+0x19):C:/Qt/4.4.3/hello/../include/QtCore/../../src/corelib/tools/qstring.h:
undefined reference to `_imp___ZN7QString16fromAscii_helperEPKci'
/mingw/lib/libmingw32.a(main.o)(.text+0x106):main.c: undefined reference to `Win
Main@16'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [debug\hello.exe] Error 1
mingw32-make[1]: Leaving directory `C:/Qt/4.4.3/hello'
mingw32-make: *** [debug-all] Error 2
Bookmarks