Details
Description
Host: Windows-7, 64-bit,
Compiler: MSVC-2017, Community Ed.
Target: Compilation for 32-bit windows: win32-msvc
Steps to reproduce:
1.
set QTDIR=C:\Users\robert\dev\qt-src-5.11.0\qtbase
set PATH=C:\Users\robert\dev\qt-src-5.11.0\qtbase\bin;C:\Users\robert\dev\qt-src-5.11.0\gnuwin32\bin;C:\Perl64\bin;%PATH%
2. Configure with -platform win32-msvc
configure -prefix C:\\Users\\robert
dev
qt-5.11.0-webeng-build -shared -opensource -platform win32-msvc -nomake tests -nomake examples -skip qt3d -skip qtactiveqt -skip qtcanvas3d -skip qtconnectivity -skip qtdatavis3d -skip qtlocation -skip qtmultimedia -skip qtscript -skip qtsensors -skip qtserialport -skip qttranslations -no-opengl -no-openvg -qt-zlib -qt-libpng -qt-libjpeg -no-avx -no-avx2 -openssl -I C:\Users\robert\dev\OpenSSLShared\include -L C:\Users\robert\dev\OpenSSLShared\lib
3. Compile
Everything compiles fine till qtwebengine
Output:
FAILED: gn.exe
link.exe /nologo /OUT:gn.exe /PDB:gn.exe.pdb @gn.exe.rsp
tools\gn\gn_main.obj : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64'
ninja: build stopped: subcommand failed.
Command '['C:/Users/robert/dev/qt-src-5.11.0/qtwebengine/src/3rdparty/ninja/ninja.exe', '-C', 'C:\\Users\\robert
dev
qt-src-5.11
.0\\qtwebengine\\src\\3rdparty\\chromium\\tools\\gn
out
Release', '-w', 'dupbuild=err', 'gn.exe']' returned non-zero exit status
1
Project ERROR: GN build error!