
Originally Posted by
jpn
And what about "qmake -v" output?
The output after using "qmake -v "
QMake version 2.01a
Using Qt version 4.2.3 in /usr/local/Trolltech/Qt-4.2.3/lib
QMake version 2.01a
Using Qt version 4.2.3 in /usr/local/Trolltech/Qt-4.2.3/lib
To copy to clipboard, switch view to plain text mode
While compiling my program I am getting the below warning....
headerFooterOptions.h:0: Warning: No relevant classes found. No output generated.
headerFooterOptions.h:0: Warning: No relevant classes found. No output generated.
To copy to clipboard, switch view to plain text mode
And the linker error occured....
generating ../source/linuxmoc/moc_headerFooterOptions.cpp (moc)
compiling moc_headerFooterOptions.cpp (g++)
headerFooterOptions.h:0: Warning: No relevant classes found. No output generated.
linking MyProject (g++)
/root/Desktop/headerFooterOptions.cpp:22: undefined reference to `vtable for HeaderFooterOptions'
../source/linuxobj/source/headerFooterOptions.o(.text+0xba):/root/Desktop/source/headerFooterOptions.cpp:22: undefined reference to `vtable for HeaderFooterOptions'
/root/Desktop/source/headerFooterOptions.cpp:22:undefined reference to `vtable for HeaderFooterOptions'
../source/linuxobj/headerFooterOptions.o(.text+0x1904):/root/Desktop/source/headerFooterOptions.cpp:22: undefined reference to `vtable for HeaderFooterOptions'
*** Exited with status: 2 ***
generating ../source/linuxmoc/moc_headerFooterOptions.cpp (moc)
compiling moc_headerFooterOptions.cpp (g++)
headerFooterOptions.h:0: Warning: No relevant classes found. No output generated.
linking MyProject (g++)
/root/Desktop/headerFooterOptions.cpp:22: undefined reference to `vtable for HeaderFooterOptions'
../source/linuxobj/source/headerFooterOptions.o(.text+0xba):/root/Desktop/source/headerFooterOptions.cpp:22: undefined reference to `vtable for HeaderFooterOptions'
/root/Desktop/source/headerFooterOptions.cpp:22:undefined reference to `vtable for HeaderFooterOptions'
../source/linuxobj/headerFooterOptions.o(.text+0x1904):/root/Desktop/source/headerFooterOptions.cpp:22: undefined reference to `vtable for HeaderFooterOptions'
*** Exited with status: 2 ***
To copy to clipboard, switch view to plain text mode
thanks.....
Bookmarks