
Originally Posted by
high_flyer
The only way to be sure is to see the compile output.
see this is the compilation results....
cd '/root/Desktop/Feb_June12Porting_to_Qt4/source' && QTDIR="/usr/lib/qt-3.3" gmake -j1 clean && QTDIR="/usr/lib/qt-3.3" gmake -j1
generating ../source/linuxmoc/moc_HeaderFooterInfoDlg.cpp (moc)
compiling moc_HeaderFooterInfoDlg.cpp (g++)
generating ../source/linuxmoc/moc_dsymbol.cpp (moc)
compiling moc_dsymbol.cpp (g++)
linking cmbedit (g++)
/root/Desktop/Feb_June12Porting_to_Qt4/source/headerFooterOptions.cpp:26: undefined reference to `vtable for ChemHeaderFooterOptions'
../source/linuxobj/headerFooterOptions.o(.text+0xba):/root/Desktop/Feb_June12Porting_to_Qt4/source/headerFooterOptions.cpp:26: undefined reference to `vtable for ChemHeaderFooterOptions'
/root/Desktop/Feb_June12Porting_to_Qt4/source/headerFooterOptions.cpp:26: undefined reference to `vtable for ChemHeaderFooterOptions'
../source/linuxobj/headerFooterOptions.o(.text+0x18dc):/root/Desktop/Feb_June12Porting_to_Qt4/source/headerFooterOptions.cpp:26: undefined reference to `vtable for ChemHeaderFooterOptions'
*** Exited with status: 2 ***
cd '/root/Desktop/Feb_June12Porting_to_Qt4/source' && QTDIR="/usr/lib/qt-3.3" gmake -j1 clean && QTDIR="/usr/lib/qt-3.3" gmake -j1
generating ../source/linuxmoc/moc_HeaderFooterInfoDlg.cpp (moc)
compiling moc_HeaderFooterInfoDlg.cpp (g++)
generating ../source/linuxmoc/moc_dsymbol.cpp (moc)
compiling moc_dsymbol.cpp (g++)
linking cmbedit (g++)
/root/Desktop/Feb_June12Porting_to_Qt4/source/headerFooterOptions.cpp:26: undefined reference to `vtable for ChemHeaderFooterOptions'
../source/linuxobj/headerFooterOptions.o(.text+0xba):/root/Desktop/Feb_June12Porting_to_Qt4/source/headerFooterOptions.cpp:26: undefined reference to `vtable for ChemHeaderFooterOptions'
/root/Desktop/Feb_June12Porting_to_Qt4/source/headerFooterOptions.cpp:26: undefined reference to `vtable for ChemHeaderFooterOptions'
../source/linuxobj/headerFooterOptions.o(.text+0x18dc):/root/Desktop/Feb_June12Porting_to_Qt4/source/headerFooterOptions.cpp:26: undefined reference to `vtable for ChemHeaderFooterOptions'
*** Exited with status: 2 ***
To copy to clipboard, switch view to plain text mode
working environment :-
1) kde 3.2
2) fedora 4
3 ) i am poritng the application from Qt3.3.4 to Qt4.2.2
thank you
Bookmarks