I think its QDevelop thats causing problems.

If I use qmake -project, qmake, make from the command line my application works.