- 
    
Bug
 - 
    Resolution: Done
 - 
    
P1: Critical
 - 
    5.6.2, 5.7.1, 5.8.0 Beta
 - 
    None
 - 
    Windows, MSVC
 
- 
        6851cf52afe188e94344ce22074af97e054f5896,b884fc00f4cb4b1ebe307374433b90448d413cf4, 5.7.1: 65858057f0f76908e4734fd06e0cfaeb2ee233cd, 1bd53131d83cdf595f95f82f0c049d2d68957159
 
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.
- is duplicated by
 - 
                    
QTBUG-56731 Cannot build Qt: "qtbase/mkspecs/qconfig.pri:2: Missing closing ' quote"
-         
     - Closed
 
 -         
 
- relates to
 - 
                    
QTBUG-56290 MSVC version detection in 5.8 silently creates broken builds when CL env var is set
-         
 - Closed
 
 -         
 
| For Gerrit Dashboard: QTBUG-56388 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 172928,4 | Match MSVC version strings in other languages than English | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 | 
| 172952,3 | Match MSVC version strings in other languages than English | 5.8 | qt/qtbase | Status: ABANDONED | -2 | 0 | 
| 173394,3 | WIP: configure: Determine MSVC version by evaluating macro _MSC_FULL_VER | 5.8 | qt/qtbase | Status: ABANDONED | -2 | 0 | 
| 173399,1 | Run MSVC version detection with environment variable CL cleared | 5.8 | qt/qtbase | Status: ABANDONED | -2 | 0 | 
| 173403,2 | configure.exe: Detect MSVC version with environment variable CL cleared | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 | 
| 175065,4 | configure: Determine MSVC version by evaluating macro _MSC_FULL_VER | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 | 
| 175099,3 | configure: Determine MSVC version by evaluating macro _MSC_FULL_VER | 5.7.1 | qt/qtbase | Status: MERGED | +2 | 0 |