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

WIN64: 'Error while handling product 'qbs resources'' and 'Detecting the MSVC build environment failed' errors for builds using mingw-w64

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.13.0
    • 1.13.0
    • Configuration Probes
    • None
    • Windows

    Description

      Hello, everyone,

      For builds using mingw-w64 got error:

      mingw32-make[2]: Entering directory 'c:/QTBS-1.13.0-dev/build'
      bin\qbs build --settings-dir qbsres/settings -f c:/QTBS-1.13.0-dev/build/qbs.qbs -d qbsres -p "qbs resources" qbs.installPrefix:undefined project.withCode:false project.withDocumentation:false profile:none
      Build graph does not yet exist for configuration 'default'. Starting from scratch.
      Resolving project for configuration default
      ERROR: C:\QTBS-1.13.0-dev\build\share\share.qbs:7:1 Error while handling product 'qbs resources':
      C:\QTBS-1.13.0-dev\build\share\qbs\imports\qbs\Probes\MsvcProbe.qbs:51:16 Error: Detecting the MSVC build environment failed: Cannot find 'vcvarsall.bat'.
      mingw32-make[2]: *** [Makefile.static-res.Release:80: qbsres/default/default.bg] Error 1
      mingw32-make[2]: Leaving directory 'c:/QTBS-1.13.0-dev/build'
      mingw32-make[1]: *** [Makefile.static-res:36: release] Error 2
      mingw32-make[1]: Leaving directory 'c:/QTBS-1.13.0-dev/build'
      mingw32-make: *** [Makefile:190: sub-static-res-pro-make_first] Error 2

      which relate to recently merged Change #234433.

       

      Reproduced for:

      • builds using mingw-w64,

      not reproduced for:

      • builds using mingw-w64 with Change #234433 reverted,
      • builds using Windows ICC and MSVC.

       

      CC: jbornema.

       

      Best,

      Alexander

       

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            sav sav
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes