Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Qt6 QtWebEngine Linux Build Failure
Forum Updated to NodeBB v4.3 + New Features

Qt6 QtWebEngine Linux Build Failure

Scheduled Pinned Locked Moved Unsolved Qt 6
3 Posts 2 Posters 523 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.
  • S Offline
    S Offline
    SMF-Qt
    wrote on 21 Jul 2021, 11:15 last edited by
    #1

    Using the instructions from "https://wiki.qt.io/Building_Qt_6_from_Git" to build Qt6 dev branch I get the following error that terminates the build. Any ideas what may be wrong?

    Thanks

    FAILED: qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecertificateerror.cpp.o
    /usr/bin/c++ -DBUILDING_CHROMIUM -DNOMINMAX -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_WEBENGINECORE_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_OPENGL_LIB -DQT_POSITIONING_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_USE_QSTRINGBUILDER -DQT_WEBCHANNEL_LIB -DWebEngineCore_EXPORTS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Iqtwebengine/src/core/api/WebEngineCore_autogen/include -Iqtbase/include -Iqtbase/include/QtWebEngineCore -I../qtwebengine/src/core/api -Iqtwebengine/src/core/api -I../qtwebengine/src/core/api/.. -I../qtwebengine/src/core/api/../../3rdparty/chromium -I../qtwebengine/src/core/api/../../3rdparty/chromium/third_party/abseil-cpp -I../qtwebengine/src/core/api/../../3rdparty/chromium/third_party/perfetto/include -I/Release/gen -I/Release/gen/third_party/perfetto -I/Release/gen/third_party/perfetto/build_config -Iqtbase/include/QtWebEngineCore/6.2.0 -Iqtbase/include/QtWebEngineCore/6.2.0/QtWebEngineCore -Iqtbase/include/QtCore -I../qtbase/mkspecs/linux-g++ -Iqtbase/include/QtGui -Iqtbase/include/QtNetwork -Iqtbase/include/QtQuick -Iqtbase/include/QtQml -Iqtbase/include/QtQmlModels -Iqtbase/include/QtOpenGL -Iqtbase/src/corelib -Iqtbase/include/QtCore/6.2.0 -Iqtbase/include/QtCore/6.2.0/QtCore -Iqtbase/src/gui -Iqtbase/include/QtGui/6.2.0 -Iqtbase/include/QtGui/6.2.0/QtGui -Iqtdeclarative/src/quick -Iqtbase/include/QtQuick/6.2.0 -Iqtbase/include/QtQuick/6.2.0/QtQuick -Iqtdeclarative/src/qmlmodels -Iqtbase/include/QtQmlModels/6.2.0 -Iqtbase/include/QtQmlModels/6.2.0/QtQmlModels -Iqtdeclarative/src/qml -Iqtbase/include/QtQml/6.2.0 -Iqtbase/include/QtQml/6.2.0/QtQml -Iqtbase/include/QtWebChannel -Iqtbase/include/QtPositioning -O3 -march=native -fomit-frame-pointer -pipe -DQT_NO_VERSION_TAGGING -DNDEBUG -O2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -Wno-unused-parameter -fPIC -Wsuggest-override -std=c++17 -Winvalid-pch -include /work/Qt6/qt6/build-qt6/qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/cmake_pch.hxx -MD -MT qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecertificateerror.cpp.o -MF qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecertificateerror.cpp.o.d -o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecertificateerror.cpp.o -c ../qtwebengine/src/core/api/qwebenginecertificateerror.cpp
    In file included from ../qtwebengine/src/core/api/../../3rdparty/chromium/base/check.h:12,
    from ../qtwebengine/src/core/api/../../3rdparty/chromium/base/check_op.h:11,
    from ../qtwebengine/src/core/api/../../3rdparty/chromium/base/memory/ref_counted.h:14,
    from ../qtwebengine/src/core/api/../../3rdparty/chromium/base/callback_internal.h:13,
    from ../qtwebengine/src/core/api/../../3rdparty/chromium/base/bind_internal.h:17,
    from ../qtwebengine/src/core/api/../../3rdparty/chromium/base/bind.h:13,
    from ../qtwebengine/src/core/api/../../3rdparty/chromium/base/callback.h:14,
    from ../qtwebengine/src/core/api/../certificate_error_controller.h:55,
    from ../qtwebengine/src/core/api/qwebenginecertificateerror.cpp:42:
    ../qtwebengine/src/core/api/../../3rdparty/chromium/base/dcheck_is_on.h:8:10: fatal error: base/debug/debugging_buildflags.h: No such file or directory
    8 | #include "base/debug/debugging_buildflags.h"
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JoeCFD
      wrote on 21 Jul 2021, 21:15 last edited by
      #2

      Why do not you use online installer?
      https://download.qt.io/official_releases/online_installers/

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SMF-Qt
        wrote on 22 Jul 2021, 07:27 last edited by
        #3

        @SMF-Qt said in Qt6 QtWebEngine Linux Build Failure:

        qtwebengine

        Thanks but it was the qtwebengine I was interested in, looking at this post I am too early with my expectations.

        https://www.qt.io/blog/add-on-support-in-qt-6.0-and-beyond

        For now I will wait.

        1 Reply Last reply
        0

        3/3

        22 Jul 2021, 07:27

        • Login

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