This question already has an answer here: Qt Object Linker ... It is because the unit generated by MOC ...
stackoverflow.com