Do you have imageitem.cpp in your .pro file?
If not, add it, re-run qmake and rebuild..