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

Qbs changes VS environment variables

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 1.14.0, 1.15.0, 1.16.0
    • Configuration Probes
    • None
    • Windows
    • acd823e109f48196367e3b8767226f81314ffa65 (qbs/qbs/1.16)

    Description

      We have a product inside our project, which starts msbuild to build UWP app. In this case I'm getting an error "LOGGERBASEDEXECTASK : ILC error ILC1004: Directory 'C:\Program Files (x86)\Windows Kits\10lib\10.0.15063.0\um' passed to argument 'targetplatformsdklibpath' does not exist.".

      If I remove

      if (value.endsWith(QLatin1Char('\\')))
                      value.chop(1);
      

      in vsenvironmentdetector.cpp (trailing slash removal) from qbs sources, the product is building just fine. Seems those trailing slashes are important.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            sergey.zhuravlev Seregey Zhuravlev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes