QMetaObject linking errors are most likely due to not compiling or linking the automatically-generated moc_*.cpp file that is produced by the Qt MOC compiler.

If you are using Qt Creator, you may need to re-run qmake.