Call qmake before running make.