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

WebEngine Compilation Broken for Win32 (x86) target: module machine type 'X86' conflicts with target machine type 'x64'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.11.3
    • 5.11.0
    • WebEngine
    • None
    • feff8635d8a1962d149216750dbc15f5d799c630 dd7c3f92c4668ed9ebdb1714d00de1cb61ab7dd4

    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!

      Attachments

        1. build.log
          50 kB
        2. config.log
          5 kB
        3. config.summary
          0.5 kB
        For Gerrit Dashboard: QTBUG-68462
        # Subject Branch Project Status CR V

        Activity

          People

            kkohne Kai Köhne
            coroberti Robert Iakobashvili
            Votes:
            10 Vote for this issue
            Watchers:
            17 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes