Talk:Development/Tutorials/Saving and loading

< Talk:Development‎ | Tutorials
Revision as of 02:33, 16 March 2008 by Tampakrap (Talk | contribs) (Fix for undefined reference to vtable compiling error)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Compiling failed due to 'undefined reference to vtable ...'

When compiling, cmake failed during the linking process. undefined reference to `vtable for MainWindow'

Simply add the following line to the mainwindow.cpp:

  1. include "mainwindow.moc"

I don't exactly know why this happens to me, but I suspect the fact that I have not built any special environment for working on KDE4 applications (as described here.

Can someone who understands the process please add the appropriate steps to the main tutorial?

Content is available under Creative Commons License SA 4.0 unless otherwise noted.