Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. QtWebEngine for apple M1
Qt 6.11 is out! See what's new in the release blog

QtWebEngine for apple M1

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    thierry
    wrote on last edited by
    #1

    Hello,
    I'm working on getting my track fully native (aka universal2) on Mac. I'm with Qt 5.15.2.
    So I compiled Qt twice: once for x86 and once with the -device-option QMAKE_APPLE_DEVICE_ARCHS=arm64 configure option.
    I then used makeuniversal and my binaries and Qt frameworks are universal.. Yay.
    Now I tried qtwebengine. So I know that it needs to be on a relatively recent version of chromium, so I took the 5.15 branch and tried to build. With no luck so far. it fails right away by saying the the extensions are not enabled.
    So I tried to configure it with ../Qt/bin/qmake . -- -webengine-webrtc -webengine-printing-and-pdf -webengine-pepper-plugins
    I also amended the src/buildtools/config/mac_osx.pri
    with this:
    cross_compile {
    GN_TARGET_CPU = $$gnArch($$QT_ARCH)
    gn_args += target_cpu="$$GN_TARGET_CPU"
    }

    so that the args.gn from chromium gets the right arget_cpu.

    But then it fails with requiring some .mm file that is indeed not present on disk.

    Has somebody had success doing this?

    1 Reply Last reply
    1

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved