Details
-
Bug
-
Resolution: Done
-
P2: Important
-
0.1
-
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
Attachments
For Gerrit Dashboard: QBS-76 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
19144,2 | platform prober: find MSVC via the registry | master | qbs/qbs | Status: MERGED | +2 | 0 |