GccToolchain: Do not warn about invalid defines on failed runs

Do not warn that the macro data is invalid if gcc failed to run. This
avoids spurious warnings when giving a non-executable file, etc.

Change-Id: I52d731bf2b9a6fc12faaa74d70488125bffd9299
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
GccToolChain: Shorten and move gccPredefinedMacroOptions

Code cosmetics: Shorten gccPredefinedMacroOptions and move it to
the method that is actually related to that functionality.

Change-Id: I8aae1fd89f58d798f5bec95f16c7b92c44546e4d
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Qt4ProjectManager: Rename {Qt4,Qmake}BuildConfiguration{Factory,}

Change-Id: Id49e347cc448f6a28271b6af775d56b6e00b4908
Reviewed-by: David Schulz <david.schulz@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>