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

Universal builds of WebEngine fail on M1 mac

    XMLWordPrintable

Details

    • macOS
    • 7f549f0e2b (qt/qtwebengine/6.3) 25fa010142 (qt/qtwebengine/dev) 7f549f0e2b (qt/qtwebengine/6.3.0)

    Description

      Happens on a mac with M1 CPU and macOS Big Sur.

      Otherwise Qt seems to build, but WebEngine fails with:

      CMake Error at cmake/Gn.cmake:65 (message):
      
      
      -- GN FAILED
      
      ERROR at //v8/gni/snapshot_toolchain.gni:108:1: Assertion failed.
      
      assert(v8_snapshot_toolchain != "",
      
      ^-----
      
      Do not know how to build a snapshot for //build/toolchain/mac:clang_x64 on
      mac arm64
      
      See //BUILD.gn:32:1: whence it was imported.
      
      import("//v8/gni/snapshot_toolchain.gni")
      
      ^---------------------------------------
      

      Configure command which causes the failure:

      exec /Users/user/Qt6/6.2.3/Src/configure -release -prefix /Users/user/Qt6/6.2.3/install – -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"

      Also same issue if WebEngine is built as a separate module (-skip qtwebengine and qt-configure-module afterwards)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes