Qt: Fixes and cleanup to qmake files.