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

msvcProbe cant find my MSVC2010 Express edition

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 0.2
    • 0.1
    • Toolchains: Visual C++
    • 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

        Activity

          People

            jbornema Joerg Bornemann
            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