From: Vincent H. <vh...@fr...> - 2005-05-30 15:58:54
|
Hello, I'm trying to link a small application which use Qt. I already compiled Qt with MinWG32 (version 3.8) and the cpp files of the application. I did like that for the compilation: g++ -IC:\Qt\3.3.4\include -c main.cpp g++ -IC:\Qt\3.3.4\include -c word.cpp and then for the link: g++ -o world main.o word.o -LC:\Qt\3.3.4\lib -lqt I just get then: word.o(.text+0x130):word.cpp: undefined reference to `vtable for Word' word.o(.text+0x13c):word.cpp: undefined reference to `vtable for Word' word.o(.text+0x172):word.cpp: undefined reference to `vtable for Word' word.o(.text+0x17e):word.cpp: undefined reference to `vtable for Word' collect2: ld returned 1 exit status Could you help me ? Thanks a lot in advance. Vincent |