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

Cannot add profile for Visual Studio "15" preview

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.7.0
    • Labels:
      None
    • Environment:
    • Commits:
      d66fe82e645fc42c00c3aef720b22691443764c1

      Description

      I am unable to create a profile for Visual Studio "15" preview (https://www.visualstudio.com/en-us/news/releasenotes/vs15-relnotes), not to be confused with Visual Studio 2015, which is now stable.

      qbs-setup-toolchains.exe --detect does not find VS15; moreover, attempting to create the profile by giving a direct path to cl.exe yields this output:

      C:\Users\IEUser\Documents>c:\Qt\Tools\QtCreator\bin\qbs-setup-toolchains.exe "C:\Program Files\Microsoft Visual Studio\VS15Preview\Common7\IDE\VC\bin\cl.exe" vs15
      Setting up profile 'vs15'.
      Warning: Failed to retrieve compiler defines: Process 'C:/Program Files/Microsoft Visual Studio/VS15Preview/Common7/IDE/VC/bin/cl.exe' failed with exit code 2.
      stdout was: qbs_dummy.mU4536.1
      C:\Users\IEUser\AppData\Local\Temp\qbs_dummy.mU4536.1(1): fatal error C1034: stdio.h: no include path set

      Profile 'vs15' created for 'C:\Program Files\Microsoft Visual Studio\VS15Preview\Common7\IDE\VC\bin\cl.exe'.

      At this point, no 'vs15' profile exists in the qbs config.

        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:
            modprobe Nathan Hourt
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes