Make sure you run make distclean and rerun qmake before running make again.