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

A QtWebEngine build fails on dev on M1 MacBook

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.2.0 Beta4
    • 6.x
    • WebEngine
    • None
    • macOS

    Description

      I was building Qt6.x from "dev" on super-repo which points to qtwebengine on SHA ff540ec5.

      The configure was:

      configure -prefix ~/development/installs/qt6dev -skip qtgraphicaleffects -DCMAKE_OSX_ARCHITECTURES="arm64"

      qtwebengine fails to build with:

      /Users/vladimir/development/qt-upstream/qt5-repo/qtwebengine/src/core/api/../../3rdparty/chromium/base/optional.h:844:46: warning: unused parameter 'opt' [-Wunused-parameter]
      constexpr bool operator>=(const Optional<T>& opt, nullopt_t) {
                                                   ^
      In file included from /Users/vladimir/development/qt-upstream/qt5-repo/qtwebengine/src/core/api/qwebenginecertificateerror.cpp:42:
      In file included from /Users/vladimir/development/qt-upstream/qt5-repo/qtwebengine/src/core/api/../certificate_error_controller.h:55:
      In file included from /Users/vladimir/development/qt-upstream/qt5-repo/qtwebengine/src/core/api/../../3rdparty/chromium/base/callback.h:14:
      In file included from /Users/vladimir/development/qt-upstream/qt5-repo/qtwebengine/src/core/api/../../3rdparty/chromium/base/bind.h:13:
      In file included from /Users/vladimir/development/qt-upstream/qt5-repo/qtwebengine/src/core/api/../../3rdparty/chromium/base/bind_internal.h:22:
      /Users/vladimir/development/qt-upstream/qt5-repo/qtwebengine/src/core/api/../../3rdparty/chromium/base/notreached.h:9:10: fatal error: 'base/logging_buildflags.h' file not found
      #include "base/logging_buildflags.h"
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      10 warnings and 1 error generated.
      [13384/14666] Building CXX object qtto...ncefieldgenerator.dir/mainwindow.cpp.o
      ninja: build stopped: subcommand failed.
      

      If I skip qtwebengine in the configure, the Qt6 from dev builds well

      Attachments

        1. CMakeError.log
          54 kB
          Vladimir Minenko
        2. CMakeError-1.log
          55 kB
          Rósa Anna Björgvinsdóttir
        3. CMakeOutput.log
          83 kB
          Vladimir Minenko
        4. CMakeOutput-1.log
          81 kB
          Rósa Anna Björgvinsdóttir
        5. config.opt
          0.1 kB
          Vladimir Minenko
        6. config.summary
          18 kB
          Vladimir Minenko
        7. console_log_copy.txt
          173 kB
          Vladimir Minenko

        Issue Links

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

          Activity

            People

              michal Michal Klocek
              vminenko Vladimir Minenko
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes