Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.2.3
-
-
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)