Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Done
-
Affects Version/s: 0.1
-
Fix Version/s: 0.2
-
Component/s: Toolchains: Visual C++
-
Labels:None
Description
running "qbs platforms probe" do not detect my MSVC2010 configuration, here is the output of cl.exe :
Compilateur d'optimisation Microsoft (R) 32 bits C/C++ version 16.00.30319.01 pour 80x86 Copyright (C) Microsoft Corporation. Tous droits réservés. utilisation : cl [ option... ] nom de fichier... [ /link linkoption... ]
After investigations in probe.cpp source code, it fail with the rexexp in "msvcProbe" function
QRegExp rex("C/C\\+\\+ .+ Version ((?:\\d|\\.)+) \\w+ ((?:x|\\d)+)");
I was not able to correct the rexexp by myself, but i by pass it and enforce msvc2010 configuration and qbs is working ok. So it should only be a matter of correcting this rexexp to get the version out of it.
Best regards