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

Qt6.9.0 can't build webengine from sources

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.9.0
    • WebEngine
    • None
    • Windows
    • c322bc548 (130-based), 99f7010b6 (122-based)
    • Windows

    Description

      Windows 11, Visual Studio 2022

      Can't build webengine from sources. Build log is attached. Config bat is also attached.

      C:\WebEngine6.9.0\src\core\RelWithDebInfo\AMD64\../../../../../Qt6.9.0Sources/6.9.0/Src/qtwebengine/src/3rdparty/chromium/net/websockets/websocket_frame.cc(41): error C2370: 'net::`anonymous-namespace'::kFinalBit': redefinition; different storage class
      C:\WebEngine6.9.0\src\core\RelWithDebInfo\AMD64\../../../../../Qt6.9.0Sources/6.9.0/Src/qtwebengine/src/3rdparty/chromium/net/server/web_socket_encoder.cc(39): note: see declaration of 'net::`anonymous-namespace'::kFinalBit'
      C:\WebEngine6.9.0\src\core\RelWithDebInfo\AMD64\../../../../../Qt6.9.0Sources/6.9.0/Src/qtwebengine/src/3rdparty/chromium/net/websockets/websocket_frame.cc(42): error C2370: 'net::`anonymous-namespace'::kReserved1Bit': redefinition; different storage class
      C:\WebEngine6.9.0\src\core\RelWithDebInfo\AMD64\../../../../../Qt6.9.0Sources/6.9.0/Src/qtwebengine/src/3rdparty/chromium/net/server/web_socket_encoder.cc(40): note: see declaration of 'net::`anonymous-namespace'::kReserved1Bit'
      C:\WebEngine6.9.0\src\core\RelWithDebInfo\AMD64\../../../../../Qt6.9.0Sources/6.9.0/Src/qtwebengine/src/3rdparty/chromium/net/websockets/websocket_frame.cc(43): error C2370: 'net::`anonymous-namespace'::kReserved2Bit': redefinition; different storage class
      C:\WebEngine6.9.0\src\core\RelWithDebInfo\AMD64\../../../../../Qt6.9.0Sources/6.9.0/Src/qtwebengine/src/3rdparty/chromium/net/server/web_socket_encoder.cc(41): note: see declaration of 'net::`anonymous-namespace'::kReserved2Bit'
      C:\WebEngine6.9.0\src\core\RelWithDebInfo\AMD64\../../../../../Qt6.9.0Sources/6.9.0/Src/qtwebengine/src/3rdparty/chromium/net/websockets/websocket_frame.cc(44): error C2370: 'net::`anonymous-namespace'::kReserved3Bit': redefinition; different storage class
      C:\WebEngine6.9.0\src\core\RelWithDebInfo\AMD64\../../../../../Qt6.9.0Sources/6.9.0/Src/qtwebengine/src/3rdparty/chromium/net/server/web_socket_encoder.cc(42): note: see declaration of 'net::`anonymous-namespace'::kReserved3Bit'
      C:\WebEngine6.9.0\src\core\RelWithDebInfo\AMD64\../../../../../Qt6.9.0Sources/6.9.0/Src/qtwebengine/src/3rdparty/chromium/net/websockets/websocket_frame.cc(45): error C2370: 'net::`anonymous-namespace'::kOpCodeMask': redefinition; different storage class
      C:\WebEngine6.9.0\src\core\RelWithDebInfo\AMD64\../../../../../Qt6.9.0Sources/6.9.0/Src/qtwebengine/src/3rdparty/chromium/net/server/web_socket_encoder.cc(43): note: see declaration of 'net::`anonymous-namespace'::kOpCodeMask'
      C:\WebEngine6.9.0\src\core\RelWithDebInfo\AMD64\../../../../../Qt6.9.0Sources/6.9.0/Src/qtwebengine/src/3rdparty/chromium/net/websockets/websocket_frame.cc(46): error C2370: 'net::`anonymous-namespace'::kMaskBit': redefinition; different storage class
      C:\WebEngine6.9.0\src\core\RelWithDebInfo\AMD64\../../../../../Qt6.9.0Sources/6.9.0/Src/qtwebengine/src/3rdparty/chromium/net/server/web_socket_encoder.cc(44): note: see declaration of 'net::`anonymous-namespace'::kMaskBit'

      Attachments

        1. build.log
          664 kB
        2. qt6vars.bat
          0.7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            pvarga Peter Varga
            Yordan.Bonev Yordan.Bonev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes