Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-56388

[Win] configureapp produces invalid QT_CL*_VERSION in qconfig.pri with non-English MSVC output

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.6.2, 5.7.1, 5.8.0 Beta
    • Fix Version/s: 5.6.3
    • Component/s: Build System
    • Labels:
      None
    • Environment:
      Windows, MSVC
    • Commits:
      6851cf52afe188e94344ce22074af97e054f5896,b884fc00f4cb4b1ebe307374433b90448d413cf4, 5.7.1: 65858057f0f76908e4734fd06e0cfaeb2ee233cd, 1bd53131d83cdf595f95f82f0c049d2d68957159

      Description

      The newly introduced compiler version pattern matching regular expression produces invalid output for the QT_CL_*_VERSION variables when using an MSVC installation that produces non-English output (as many seem to do by default these days).

      In my case, it matched almost the whole line and a new line that then corrupted the qconfig.pri so much that the build failed with a rather unrelated error message (z_compress2 and z_uncompress not resolved) due to the configuration containing garbage.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-56388
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              kleint Friedemann Kleint
              Reporter:
              mibrunin Michael Bruning
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: