Qt6 QtWebEngine Linux Build Failure
-
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. -
Why do not you use online installer?
https://download.qt.io/official_releases/online_installers/ -
@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.