Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-76

msvcProbe cant find my MSVC2010 Express edition

    XMLWordPrintable

    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

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            ness522 Stéphane Fabry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes