Details
Description
https://codereview.qt-project.org/#/c/179393/ was not enough.
Currently, an invalid compiler path results in a very cryptic error message like:
Restoring build graph from disk Resolving project for configuration default ERROR: <install-root>/share/qbs/modules/cpp/GenericGCC.qbs:198 The following properties are not set. Set them in your profile or product: cpp.architecture: you might want to re-run 'qbs-setup-toolchains' cpp.compilerVersionMajor cpp.compilerVersionMinor cpp.compilerVersionPatch cpp.compilerIncludePaths cpp.compilerFrameworkPaths cpp.compilerLibraryPaths The following properties have invalid values: cpp.compilerVersion: must be a version number with 3 components cpp.compilerVersionMajor: must be an integer >= 1 cpp.compilerVersionMinor: must be an integer >= 0 cpp.compilerVersionPatch: must be an integer >= 0
vs the far more comprehensible (expected) output:
Restoring build graph from disk Resolving project for configuration default ERROR: <install-root>/share/qbs/imports/qbs/Probes/GccProbe.qbs:58:16 Error: Error running '/usr/bin/clang': execve: No such file or directory
As discovered by a user with invalid Qt Creator kit setups in 4.2.