Run qmake before building
To prevent failures on incremental builds, always run qmake before building, even though it takes more time. Go to Preferences > Build & Run > Qmake, and select Run qmake on every build.

See also How to: Build and Run and Building projects with qmake.