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

Can not `qbs setup-toolchains --detect` for `Visual C++ Build Tools 2015` anymore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.7.2
    • Component/s: Configuration Probes
    • Labels:
      None
    • Environment:
      Windows 7 64bit
    • Commits:
      72463bbd87044148fcafcdc2c1189aa7a5593cf9

      Description

      Qbs 1.6.x works well with ` qbs setup-toolchains --detect` for `Visual C++ Build Tools 2015` . Qbs 1.7.1 not.
      Info:
      Detecting MSVC toolchains...
      Could not detect an installation of the Windows SDK or Visual Studio.
      Could not detect any toolchains. No profile created.
      '\SDK\Qt\amd64\bin\qmake.exe' does not seem to be a qmake executable.
      '\SDK\Qt\x86\bin\qmake.exe' does not seem to be a qmake executable.

      Bat code:

      Unable to find source-code formatter for language: bat. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      @echo off
      
      rmdir /S /Q %APPDATA%\QtProject >nul 2>&1
      qbs setup-toolchains --detect
      qbs setup-qt %MYDEVDIR%\SDK\Qt\amd64\bin\qmake.exe Qt64
      qbs config --unset profiles.Qt64.cpp.minimumWindowsVersion
      qbs setup-qt %MYDEVDIR%\SDK\Qt\x86\bin\qmake.exe Qt32
      qbs config --unset profiles.Qt32.cpp.minimumWindowsVersion
      qbs config defaultProfile Qt64
      qbs config-ui
      

        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:
            loaden Yuchen Deng
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes