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

'Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'' and 'The following properties have invalid values' errors for builds on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 1.11.0
    • 1.11.0
    • General
    • None
    • 2530d46c5a8a9dfba6e02b48a376545cdaf7a361

    Description

      Hello everyone,

      Got errors for builds using mingw-w64:

      mingw32-make[2]: Entering directory 'c:/QTBS-1.10.0-dev/build'
      bin\qbs setup-qt --settings-dir qbsres/settings C:\libQT-5.11-dev\GCC64DH\bin\qmake.exe qt
      Creating profile 'qt'.
      WARNING: You need to set up toolchain information before you can use this Qt version for building. However, no toolchain profile was found. Either create one using qbs-setup-toolchains and set it as this profile's base profile or add the toolchain settings manually to this profile.
      bin\qbs build --settings-dir qbsres/settings -f c:/QTBS-1.10.0-dev/build/qbs.qbs -d qbsres -p "qbs resources" profile:qt
      Build graph does not yet exist for configuration 'default'. Starting from scratch.
      Resolving project for configuration default
      ERROR: C:\QTBS-1.10.0-dev\build\tests\auto\blackbox\blackbox-android.qbs:4:1 Error while handling product 'tst_blackbox-android':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\tests\auto\blackbox\blackbox-apple.qbs:4:1 Error while handling product 'tst_blackbox-apple':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\src\app\qbs-setup-toolchains\qbs-setup-toolchains.qbs:3:1 Error while handling product 'qbs-setup-toolchains':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\tests\auto\cmdlineparser\cmdlineparser.qbs:4:1 Error while handling product 'tst_cmdlineparser':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\src\lib\qtprofilesetup\qtprofilesetup.qbs:3:1 Error while handling product 'qbsqtprofilesetup':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\tests\auto\language\language.qbs:4:1 Error while handling product 'tst_language':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\src\app\qbs-create-project\qbs-create-project.qbs:3:1 Error while handling product 'qbs-create-project':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\src\plugins\scanner\qt\qt.qbs:4:1 Error while handling product 'qbs_qt_scanner':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\src\plugins\scanner\cpp\cpp.qbs:4:1 Error while handling product 'qbs_cpp_scanner':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\tests\auto\blackbox\blackbox.qbs:4:1 Error while handling product 'tst_blackbox':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\src\app\qbs\qbs.qbs:4:1 Error while handling product 'qbs_app':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\src\lib\corelib\corelib.qbs:4:1 Error while handling product 'qbscore':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\tests\auto\buildgraph\buildgraph.qbs:3:1 Error while handling product 'tst_buildgraph':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\tests\fuzzy-test\fuzzy-test.qbs:3:1 Error while handling product 'qbs_fuzzy-test':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\tests\auto\blackbox\blackbox-clangdb.qbs:4:1 Error while handling product 'tst_blackbox-clangdb':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\src\app\qbs-setup-qt\qbs-setup-qt.qbs:3:1 Error while handling product 'qbs-setup-qt':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\src\app\qbs-setup-android\qbs-setup-android.qbs:3:1 Error while handling product 'qbs-setup-android':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\tests\auto\api\api.qbs:4:1 Error while handling product 'tst_api':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\src\app\config\config.qbs:3:1 Error while handling product 'qbs-config':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\tests\benchmarker\benchmarker.qbs:3:1 Error while handling product 'qbs_benchmarker':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\src\libexec\qbs_processlauncher\qbs_processlauncher.qbs:4:1 Error while handling product 'qbs_processlauncher':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\src\plugins\generator\visualstudio\visualstudio.qbs:4:1 Error while handling product 'visualstudiogenerator':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\tests\auto\blackbox\blackbox-java.qbs:4:1 Error while handling product 'tst_blackbox-java':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\tests\auto\blackbox\blackbox-qt.qbs:4:1 Error while handling product 'tst_blackbox-qt':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\src\app\config-ui\config-ui.qbs:3:1 Error while handling product 'qbs-config-ui':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\tests\auto\tools\tools.qbs:4:1 Error while handling product 'tst_tools':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\src\plugins\generator\clangcompilationdb\clangcompilationdb.qbs:4:1 Error while handling product 'clangcompilationdbgenerator':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\src\packages\archive\archive.qbs:7:1 Error while handling product 'qbs archive':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\doc\doc.qbs:3:1 Error while handling product 'qbs documentation':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\src\shared\json\json.qbs:3:1 Error while handling product 'qbsjson':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      C:\QTBS-1.10.0-dev\build\qbs.qbs:39:5 Error while handling product 'autotest-runner':
      C:\QTBS-1.10.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:52:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      mingw32-make[2]: *** [Makefile.static-res.Debug:81: qbsres/default/default.bg] Error 1
      mingw32-make[2]: Leaving directory 'c:/QTBS-1.10.0-dev/build'
      mingw32-make[1]: *** [Makefile.static-res:36: debug] Error 2
      mingw32-make[1]: Leaving directory 'c:/QTBS-1.10.0-dev/build'
      mingw32-make: *** [Makefile:190: sub-static-res-pro-make_first] Error 2

       

      ICC on Windows and MSVC:

              ( if not exist Makefile.static-res C:\libQT-5.11-dev\MSVC64RH\bin\qmake.exe -o Makefile.static-res C:\QTBS-1.10.0-dev\build\static-res.pro "QBS_INSTALL_PREFIX=C:\QTBS-1.10.0-dev\build\..\MSVC64RH" ) && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64\nmake.exe" -f Makefile.static-res
      
      Microsoft (R) Program Maintenance Utility Version 14.11.25547.0
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
              "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64\nmake.exe" -f Makefile.static-res.Release
      
      Microsoft (R) Program Maintenance Utility Version 14.11.25547.0
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
              bin\qbs setup-qt --settings-dir qbsres/settings C:\libQT-5.11-dev\MSVC64RH\bin\qmake.exe qt
      Creating profile 'qt'.
      WARNING: You need to set up toolchain information before you can use this Qt version for building. However, no toolchain profile was found. Either create one using qbs-setup-toolchains and set it as this profile's base profile or add the toolchain settings manually to this profile.
              bin\qbs build --settings-dir qbsres/settings -f c:/QTBS-1.10.0-dev/build/qbs.qbs -d qbsres -p "qbs resources" profile:qt
      Build graph does not yet exist for configuration 'default'. Starting from scratch.
      Resolving project for configuration default
      ERROR: C:\QTBS-1.10.0-dev\build\tests\auto\blackbox\blackbox-android.qbs:4:1 Error while handling product 'tst_blackbox-android':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\doc\doc.qbs:3:1 Error while handling product 'qbs documentation':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\tests\fuzzy-test\fuzzy-test.qbs:3:1 Error while handling product 'qbs_fuzzy-test':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\src\app\config\config.qbs:3:1 Error while handling product 'qbs-config':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\src\plugins\scanner\qt\qt.qbs:4:1 Error while handling product 'qbs_qt_scanner':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\tests\auto\tools\tools.qbs:4:1 Error while handling product 'tst_tools':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\src\app\qbs-create-project\qbs-create-project.qbs:3:1 Error while handling product 'qbs-create-project':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\tests\auto\api\api.qbs:4:1 Error while handling product 'tst_api':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\src\app\qbs-setup-android\qbs-setup-android.qbs:3:1 Error while handling product 'qbs-setup-android':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\src\plugins\generator\clangcompilationdb\clangcompilationdb.qbs:4:1 Error while handling product 'clangcompilationdbgenerator':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\tests\auto\blackbox\blackbox.qbs:4:1 Error while handling product 'tst_blackbox':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\tests\auto\blackbox\blackbox-qt.qbs:4:1 Error while handling product 'tst_blackbox-qt':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\src\packages\archive\archive.qbs:7:1 Error while handling product 'qbs archive':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\src\app\config-ui\config-ui.qbs:3:1 Error while handling product 'qbs-config-ui':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\src\plugins\generator\visualstudio\visualstudio.qbs:4:1 Error while handling product 'visualstudiogenerator':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\src\app\qbs-setup-qt\qbs-setup-qt.qbs:3:1 Error while handling product 'qbs-setup-qt':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\src\app\qbs-setup-toolchains\qbs-setup-toolchains.qbs:3:1 Error while handling product 'qbs-setup-toolchains':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\src\lib\corelib\corelib.qbs:4:1 Error while handling product 'qbscore':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\tests\auto\buildgraph\buildgraph.qbs:3:1 Error while handling product 'tst_buildgraph':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\src\app\qbs\qbs.qbs:4:1 Error while handling product 'qbs_app':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\src\libexec\qbs_processlauncher\qbs_processlauncher.qbs:4:1 Error while handling product 'qbs_processlauncher':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\tests\auto\cmdlineparser\cmdlineparser.qbs:4:1 Error while handling product 'tst_cmdlineparser':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\src\plugins\scanner\cpp\cpp.qbs:4:1 Error while handling product 'qbs_cpp_scanner':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\tests\auto\blackbox\blackbox-clangdb.qbs:4:1 Error while handling product 'tst_blackbox-clangdb':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\tests\benchmarker\benchmarker.qbs:3:1 Error while handling product 'qbs_benchmarker':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\src\lib\qtprofilesetup\qtprofilesetup.qbs:3:1 Error while handling product 'qbsqtprofilesetup':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\tests\auto\blackbox\blackbox-java.qbs:4:1 Error while handling product 'tst_blackbox-java':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\tests\auto\blackbox\blackbox-apple.qbs:4:1 Error while handling product 'tst_blackbox-apple':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\tests\auto\language\language.qbs:4:1 Error while handling product 'tst_language':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      C:\QTBS-1.10.0-dev\build\qbs.qbs:39:5 Error while handling product 'autotest-runner':
      C:\QTBS-1.10.0-dev\build\qbsres\settings\qbs\1.11.0\profiles\qt\modules\Qt\core\core.qbs:190 The following properties have invalid values:
      Qt.core.qtBuildVariant:  is 'release', but qbs.buildVariant is 'debug', which is not allowed when using MSVC
      NMAKE : fatal error U1077: 'bin\qbs.EXE' : return code '0x1'
      Stop.
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64\nmake.exe"' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: '(' : return code '0x2'
      Stop.

      which relate to recently merged Change #206192.

      Reproduced for:
        - Qbs builds using mingw-w64 with <Debug|Release> configuration and MSVC with Release configuration,

      not reproduced for:
        - Qbs builds using mingw-w64 with <Debug|Release> configuration and MSVC with Release configuration with Change #206192 reverted,
        - Qbs builds using MSVC with Debug configuration.

       

      Best,

      Alexander

      Attachments

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

        Activity

          People

            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            sav sav
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes