You can define a custom compiler in the newest version of Qt Creator, that will make sure the code model used in creator is OK.
Depending on the format of error messages and warnings you may have trouble getting those to show in the build issues view though.