[Development] Qt 5.6.0-rc build issues on Windows 7 with VC2015 x86 -target XP

Koehne Kai Kai.Koehne at theqtcompany.com
Mon Mar 14 08:09:02 CET 2016



> -----Ursprüngliche Nachricht-----
> Von: Development [mailto:development-
> bounces+kai.koehne=theqtcompany.com at qt-project.org] Im Auftrag von
> Walter Stefan
> Gesendet: Sonntag, 13. März 2016 05:48
> An: development at qt-project.org
> Betreff: [Development] Qt 5.6.0-rc build issues on Windows 7 with VC2015
> x86 -target XP
> 
> Hi,
> 
> 
> 
> I am receiving the following compilation error and thought I should share it
> here.
> 
> I am using the source from: qt-everywhere-opensource-src-5.6.0-rc.7z
> 
> Is this already solved for the final release?

I don’t this is a known issue, nor that it has been fixed.

> [ ... ]
> Project MESSAGE: Running gyp_qtwebengine "C:/Build/qt-5.6.0-rc/qt-
> build/qtwebengine/src/core" -D qt_cross_compile=0 -D qt_os="win32" -I
> config/windows.gypi -D qtwe_chromium_obj_dir="C:/Build/qt-5.6.0-rc/qt-
> build/qtwebengine/src/core/Debug/obj/src/3rdparty/chromium" -D
> perl_exe="perl.exe" -D bison_exe="bison.exe" -D gperf_exe="gperf.exe" --
> no-parallel -D qt_egl_library="libEGLd.lib" -D
> qt_glesv2_library="libGLESv2d.lib" -D qt_gl="angle" -G msvs_version=2015 -
> D use_qt=1 -D v8_use_external_startup_data=0 -D enable_basic_printing=0
> -D enable_print_preview=0 -D enable_web_speech=0 -D disable_nacl=1 -D
> remoting=0 -D use_ash=0 -D fastbuild=2 -D disable_glibcxx_debug=1 -D
> remove_webcore_debug_symbols=1 -D remove_v8base_debug_symbols=1
> -D disable_fatal_linker_warnings=1 -D target_arch=ia32...
> [ ... ]
>   File "c:\build\qt-5.6.0-rc\qt-everywhere-opensource-src-5.6.0-
> rc\qtwebengine\src\3rdparty\chromium\tools\gyp\pylib\gyp\MSVSVersion.
> py", line 437, in SelectVisualStudioVersion
> 
>     raise ValueError('Could not locate Visual Studio installation.')
> 
> ValueError: Could not locate Visual Studio installation.

Which Visual Studio are you using?

Qt thinks it's Visual Studio 2015 (msvs_version=2015). Anyhow, gyp/Chromium does try to find  the version in the registry and on the filesystem:

It searches for registry key 'InstallDir' in 

  HKLM\Software\Microsoft\VisualStudio\14.0
  HKLM\Software\Wow6432Node\Microsoft\VisualStudio\14.0
  HKLM\Software\Microsoft\VCExpress\14.0
  HKLM\Software\Wow6432Node\Microsoft\VCExpress\14.0

It then searches for devenv.exe, *express.exe in the InstallDir/../../

In addition, it checks for HKLM\Software\Microsoft\VisualStudio\SxS\VC7\14.0, HKLM\Software\Wow6432Node\Microsoft\VisualStudio\SxS\VC7\14.0 registry values.

Apparently all these checks fail for you.

Would be good if you could open a bug about this, including your relevant registry sections.

Regards

Kai Koehne
 



More information about the Development mailing list