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

Regression with Qbs 1.6 and Bullseye Coverage

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.6.1
    • Component/s: Qt Creator Integration
    • Labels:
      None
    • Environment:
      This only happen when using Qbs from within QtCreator 4.1
    • Commits:
      fb7a6ddcd96004f5e7e56b26a722ca49488448e6

      Description

      We’re using a tool called Bullseye Coverage for measuring code coverage with Visual Studio compilers on Windows. When the Bullseye "integration" for Visual Studio compilers is enabled, the installer adds one line to the end of each of the vcvarsXX.bat files in <vc-install-dir>/VC/bin:

      @set PATH=c:/BullseyeCoverage/bin;%PATH%

      The Bullseye bin folder contains a specific version of the compiler shell (cl.exe) which does some source code preprocessing in case Bullseye instrumentation is active at the moment. In any case the original compiler shell from the next occurrence in PATH is called to do the actual work.

      This approach is working fine with Qbs, but since Qbs 1.6 (as contained in QtCreator 4.1 beta) we observe a major regression. With Bullseye integration on (which means the PATH modification in the .bat files is active), Qbs refuses to load the project and reports:

      <...>\MsvcProbe.qbs:47: error: Error: Detecting the MSVC build environment failed: Cannot find 'C:\BullseyeCoverage\vcvarsall.bat'.

      Note that this tool combination (Bullseye, Visual Studio 20xx, Qbs) has been working well for about a year until QtCreator 4.0.2.

        Attachments

        1. demo.qbs
          0.1 kB
        2. main.cpp
          0.1 kB
        3. profiles.xml
          6 kB
        4. qbs.conf
          4 kB
        5. toolchains.xml
          15 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            thomas.epting Thomas Epting
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes