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. Troubles bulding qtwebengine
Forum Updated to NodeBB v4.3 + New Features

Troubles bulding qtwebengine

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 369 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.
  • R Offline
    R Offline
    rock37
    wrote on last edited by
    #1

    Hi everonyone,
    i've trobels building the qtwebengine mdoule:

    ¨¨
    stuv@localhost:~/Qt/6.6.1/Src$ ninja QtWebEngine/all
    ninja: error: unknown target 'QtWebEngine/all', did you mean 'qtwebengine/all'?
    stuv@localhost:~/Qt/6.6.1/Src$ ninja qtwebengine/all
    [1/179] Run gn for target WebEngineCore in /home/stuv/Qt/6.6.1/Src/qtwebengine/src/core/Release/x86_64
    -- Found Gn: /home/stuv/Qt/6.6.1/Src/qtwebengine/install/bin/gn (found suitable exact version "6.6.1.qtwebengine.qt.io")
    -- Running gn in /home/stuv/Qt/6.6.1/Src/qtwebengine/src/core/Release/x86_64
    -- GN command:
    /home/stuv/Qt/6.6.1/Src/qtwebengine/install/bin/gn gen /home/stuv/Qt/6.6.1/Src/qtwebengine/src/core/Release/x86_64 --script-executable=/usr/bin/python3 --root=/home/stuv/Qt/6.6.1/Src/qtwebengine/src/3rdparty/chromium
    -- GN arg file:
    /home/stuv/Qt/6.6.1/Src/qtwebengine/src/core/Release/x86_64/args.gn
    -- GN args:
    angle_enable_swiftshader=false
    blink_symbol_level=0
    build_dawn_tests=false
    build_with_tflite_lib=false
    chrome_pgo_phase=0
    chrome_root_store_supported=false
    custom_toolchain="/home/stuv/Qt/6.6.1/Src/qtwebengine/src/core/target_toolchain:target"
    dawn_use_swiftshader=false
    dcheck_always_on=false
    devtools_fast_bundle=false
    devtools_skip_typecheck=false
    enable_background_contents=false
    enable_background_mode=false
    enable_basic_printing=true
    enable_extensions=true
    enable_hangout_services_extension=false
    enable_ipc_fuzzer=false
    enable_ipc_logging=false
    enable_library_cdms=true
    enable_location_source=false
    enable_media_remoting=false
    enable_message_center=false
    enable_nacl=false
    enable_oop_printing=false
    enable_pdf=true
    enable_plugins=true
    enable_precompiled_headers=false
    enable_print_preview=true
    enable_printing=true
    enable_remoting=false
    enable_reporting=false
    enable_resource_allowlist_generation=false
    enable_screen_ai_service=false
    enable_screen_capture=false
    enable_session_service=false
    enable_spellcheck=true
    enable_supervised_users=false
    enable_swiftshader=false
    enable_swiftshader_vulkan=false
    enable_vr=false
    enable_vulkan=true
    enable_web_speech=false
    enable_webrtc=false
    enable_widevine=true
    fatal_linker_warnings=false
    forbid_non_component_debug_builds=false
    has_native_accessibility=false
    has_perl=true
    host_cpu="x64"
    host_pkg_config="/usr/bin/pkg-config"
    host_toolchain="/home/stuv/Qt/6.6.1/Src/qtwebengine/src/core/host_toolchain:host"
    icu_use_data_file=true
    init_stack_vars=false
    is_cfi=false
    is_clang=false
    is_component_build=false
    is_debug=false
    is_gcc=true
    is_mingw=false
    is_msvc=false
    is_official_build=true
    is_qtwebengine=true
    is_shared=true
    is_unsafe_developer_build=false
    jumbo_build_excluded=["browser"]
    jumbo_file_merge_limit=8
    optimize_webui=false
    ozone_auto_platforms=false
    ozone_extra_path="/home/stuv/Qt/6.6.1/Src/qtwebengine/src/core/ozone/ozone_extra.gni"
    ozone_platform="qt"
    ozone_platform_external=true
    ozone_platform_headless=false
    ozone_platform_x11=true
    pdf_use_skia=true
    pdfium_use_system_libpng=true
    pdfium_use_system_libtiff=true
    pdfium_use_system_zlib=true
    pkg_config="/usr/bin/pkg-config"
    proprietary_codecs=false
    qtwebengine_target="/home/stuv/Qt/6.6.1/Src/qtwebengine/src/core/Release/x86_64:QtWebEngineCore"
    rtc_use_pipewire=false
    rtc_use_x11=false
    safe_browsing_mode=0
    skia_use_dawn=false
    strip_absolute_paths_from_debug_symbols=false
    symbol_level=0
    toolkit_views=false
    treat_warnings_as_errors=false
    trial_comparison_cert_verifier_supported=false
    use_allocator_shim=false
    use_alsa=false
    use_bluez=false
    use_browser_spellchecker=false
    use_bundled_fontconfig=false
    use_cups=false
    use_cups=true
    use_custom_libcxx=false
    use_dawn=false
    use_embedded_config=false
    use_gio=false
    use_glib=false
    use_gnome_keyring=false
    use_gold=false
    use_gtk=false
    use_jumbo_build=true
    use_kerberos=false
    use_libpci=false
    use_lld=false
    use_ozone=true
    use_partition_alloc=true
    use_partition_alloc_as_malloc=false
    use_pulseaudio=false
    use_qt=false
    use_static_angle=true
    use_sysroot=false
    use_system_ffmpeg=false
    use_system_freetype=true
    use_system_harfbuzz=false
    use_system_icu=false
    use_system_lcms2=false
    use_system_libevent=true
    use_system_libjpeg=true
    use_system_libopenjpeg2=false
    use_system_libpng=true
    use_system_libvpx=false
    use_system_libwebp=true
    use_system_libxml=false
    use_system_libxslt=false
    use_system_minizip=false
    use_system_opus=false
    use_system_re2=false
    use_system_snappy=false
    use_system_zlib=false
    use_thin_lto=false
    use_udev=true
    use_v8_context_snapshot=true
    use_vaapi=false
    use_vaapi_x11=false
    use_xkbcommon=true
    v8_symbol_level=0
    v8_use_external_startup_data=true
    -- GN Done. Made 17571 targets from 2859 files in 3862ms
    [1/179] Running ninja for QtWebEngineCore in /home/stuv/Qt/6.6.1/Src/qtwebengine/src/core/Release/x86_64
    ninja: Entering directory `/home/stuv/Qt/6.6.1/Src/qtwebengine/src/core/Release/x86_64'
    [161/7673] CXX obj/content/renderer/renderer/renderer_jumbo_13.o
    FAILED: obj/content/renderer/renderer/renderer_jumbo_13.o
    /usr/bin/c++ -MMD -MF obj/content/renderer/renderer/renderer_jumbo_13.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DCONTENT_IMPLEMENTATION -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DVK_USE_PLATFORM_XCB_KHR -DLIBYUV_DISABLE_NEON -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_ENABLE_TRACING=1 -DU_ENABLE_RESOURCE_TRACING=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_ENABLE_SKSL -DSK_UNTIL_CRBUG_1187654_IS_FIXED -DSK_USER_CONFIG_HEADER="../../skia/config/SkUserConfig.h" -DSK_WIN_FONTMGR_NO_SIMULATIONS -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_HAS_WUFFS_LIBRARY -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER="gpu/config/gpu_driver_bug_workaround_autogen.h" -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0 -DHAVE_PTHREAD -DLEVELDB_PLATFORM_CHROMIUM=1 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DLOGGING_INSIDE_WEBRTC -DV8_USE_EXTERNAL_STARTUP_DATA -DV8_COMPRESS_POINTERS -DV8_COMPRESS_POINTERS_IN_SHARED_CAGE -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_ENABLE_SANDBOX -DV8_DEPRECATION_WARNINGS -DCPPGC_CAGED_HEAP -DCPPGC_YOUNG_GENERATION -DCPPGC_POINTER_COMPRESSION -DCPPGC_SLIM_WRITE_BARRIER -DWTF_USE_WEBAUDIO_PFFFT=1 -DUSE_INNER_HTML_PARSER_FAST_PATH=1 -DLIBGAV1_MAX_BITDEPTH=10 -DLIBGAV1_THREADPOOL_USE_STD_MUTEX -DLIBGAV1_ENABLE_LOGGING=0 -DLIBGAV1_PUBLIC= -DSQLITE_OMIT_ANALYZE -DSQLITE_OMIT_AUTOINIT -DSQLITE_OMIT_AUTOMATIC_INDEX -DSQLITE_OMIT_AUTORESET -DSQLITE_OMIT_COMPILEOPTION_DIAGS -DSQLITE_OMIT_EXPLAIN -DSQLITE_OMIT_GET_TABLE -DSQLITE_OMIT_INTROSPECTION_PRAGMAS -DSQLITE_DEFAULT_LOOKASIDE=0,0 -DSQLITE_OMIT_LOOKASIDE -DSQLITE_OMIT_TCL_VARIABLE -DSQLITE_OMIT_REINDEX -DSQLITE_OMIT_TRACE -DSQLITE_OMIT_UPSERT -DSQLITE_OMIT_WINDOWFUNC -DSQLITE_ENABLE_FTS3 -DSQLITE_DISABLE_FTS3_UNICODE -DSQLITE_DISABLE_FTS4_DEFERRED -DSQLITE_ENABLE_ICU -DSQLITE_SECURE_DELETE -DSQLITE_THREADSAFE=1 -DSQLITE_MAX_WORKER_THREADS=0 -DSQLITE_MAX_MMAP_SIZE=268435456 -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600 -DSQLITE_DEFAULT_LOCKING_MODE=1 -DSQLITE_DEFAULT_MEMSTATUS=1 -DSQLITE_DEFAULT_PAGE_SIZE=4096 -DSQLITE_DEFAULT_PCACHE_INITSZ=0 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_USE_ALLOCA -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_JSON -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_HAVE_ISNAN -DSQLITE_HAVE_SQLITE3R -DSQLITE_ENABLE_BATCH_ATOMIC_WRITE -DSQLITE_TEMP_STORE=3 -DSQLITE_ENABLE_LOCKING_STYLE=0 -DVK_NO_PROTOTYPES -DUSE_VULKAN_XCB -I. -Igen -I../../../3rdparty/chromium -I../../../3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../../3rdparty/chromium/third_party/vulkan-deps/vulkan-headers/src/include -I../../../3rdparty/chromium/third_party/khronos -I../../../3rdparty/chromium/gpu -I../../../3rdparty/chromium/third_party/libyuv/include -Igen/third_party/dawn/include -I../../../3rdparty/chromium/third_party/dawn/include -I../../../3rdparty/chromium/third_party/jsoncpp/source/include -I../../../3rdparty/chromium/third_party/abseil-cpp -I../../../3rdparty/chromium/third_party/boringssl/src/include -I../../../3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out -I../../../3rdparty/chromium/third_party/ipcz/include -I../../../3rdparty/chromium/third_party/ced/src -I../../../3rdparty/chromium/third_party/icu/source/common -I../../../3rdparty/chromium/third_party/icu/source/i18n -I../../../3rdparty/chromium/third_party/skia -I../../../3rdparty/chromium/third_party/wuffs/src/release/c -I../../../3rdparty/chromium/third_party/vulkan/include -I../../../3rdparty/chromium/third_party/mesa_headers -I../../../3rdparty/chromium/third_party/crashpad/crashpad -I../../../3rdparty/chromium/third_party/crashpad/crashpad/compat/linux -I../../../3rdparty/chromium/third_party/crashpad/crashpad/compat/non_win -I../../../3rdparty/chromium/third_party/zlib -I../../../3rdparty/chromium/third_party/libwebm/source -I../../../3rdparty/chromium/third_party/leveldatabase -I../../../3rdparty/chromium/third_party/leveldatabase/src -I../../../3rdparty/chromium/third_party/leveldatabase/src/include -I../../../3rdparty/chromium/third_party/libaom/source/libaom -I../../../3rdparty/chromium/net/third_party/quiche/overrides -I../../../3rdparty/chromium/net/third_party/quiche/src/quiche/common/platform/default -I../../../3rdparty/chromium/net/third_party/quiche/src -Igen/net/third_party/quiche/src -I../../../3rdparty/chromium/third_party/webrtc_overrides -I../../../3rdparty/chromium/third_party/webrtc -Igen/third_party/webrtc -I../../../3rdparty/chromium/v8/include -Igen/v8/include -Igen/third_party/metrics_proto -I../../../3rdparty/chromium/third_party/libgav1/src -I../../../3rdparty/chromium/third_party/libgav1/src/src -I../../../3rdparty/chromium/third_party/libvpx/source/libvpx -I../../../3rdparty/chromium/third_party/opus/src/include -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-unknown-pragmas -Wno-address -Wno-parentheses -Wno-sign-compare -Wno-stringop-overflow -Wno-stringop-overread -Wno-psabi -Wno-multichar -Wno-format-zero-length -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -msse3 -O2 -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -I/usr/include/nss -I/usr/include/nspr -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -Wno-deprecated-copy -Wno-expansion-to-defined -std=gnu++20 -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c gen/content/renderer/renderer_jumbo_13.cc -o obj/content/renderer/renderer/renderer_jumbo_13.o
    In file included from gen/content/renderer/renderer_jumbo_13.cc:5:
    ./../../../3rdparty/chromium/content/renderer/pepper/pepper_media_device_manager.cc: In member function ‘virtual void content::PepperMediaDeviceManager::EnumerateDevices(PP_DeviceType_Dev, content::PepperDeviceEnumerationHostHelper::Delegate::DevicesOnceCallback)’:
    ./../../../3rdparty/chromium/content/renderer/pepper/pepper_media_device_manager.cc:119:9: error: ‘base::ThreadTaskRunnerHandle’ has not been declared
    119 | base::ThreadTaskRunnerHandle::Get()->PostTask(
    | ^~~~~~~~~~~~~~~~~~~~~~
    ./../../../3rdparty/chromium/content/renderer/pepper/pepper_media_device_manager.cc: In member function ‘int content::PepperMediaDeviceManager::OpenDevice(PP_DeviceType_Dev, const std::string&, PP_Instance, OpenDeviceCallback)’:
    ./../../../3rdparty/chromium/content/renderer/pepper/pepper_media_device_manager.cc:198:9: error: ‘base::ThreadTaskRunnerHandle’ has not been declared
    198 | base::ThreadTaskRunnerHandle::Get()->PostTask(
    | ^~~~~~~~~~~~~~~~~~~~~~
    [182/7673] CXX obj/gpu/command_buffer/service/gles2_sources/gles2_cmd_decoder.o
    ninja: build stopped: subcommand failed.
    [2/179] Run gn for target Pdf in /home/stuv/Qt/6.6.1/Src/qtwebengine/src/pdf/Release/x86_64
    -- Found Gn: /home/stuv/Qt/6.6.1/Src/qtwebengine/install/bin/gn (found suitable exact version "6.6.1.qtwebengine.qt.io")
    -- Running gn in /home/stuv/Qt/6.6.1/Src/qtwebengine/src/pdf/Release/x86_64
    -- GN command:
    /home/stuv/Qt/6.6.1/Src/qtwebengine/install/bin/gn gen /home/stuv/Qt/6.6.1/Src/qtwebengine/src/pdf/Release/x86_64 --script-executable=/usr/bin/python3 --root=/home/stuv/Qt/6.6.1/Src/qtwebengine/src/3rdparty/chromium
    -- GN arg file:
    /home/stuv/Qt/6.6.1/Src/qtwebengine/src/pdf/Release/x86_64/args.gn
    -- GN args:
    angle_enable_swiftshader=false
    blink_symbol_level=0
    chrome_pgo_phase=0
    custom_toolchain="/home/stuv/Qt/6.6.1/Src/qtwebengine/src/pdf/target_toolchain:target"
    dawn_use_swiftshader=false
    dcheck_always_on=false
    enable_ipc_fuzzer=false
    enable_precompiled_headers=false
    enable_remoting=false
    enable_resource_allowlist_generation=false
    enable_swiftshader=false
    enable_swiftshader_vulkan=false
    enable_vr=false
    enable_web_speech=false
    forbid_non_component_debug_builds=false
    host_cpu="x64"
    host_pkg_config="/usr/bin/pkg-config"
    host_toolchain="/home/stuv/Qt/6.6.1/Src/qtwebengine/src/pdf/host_toolchain:host"
    init_stack_vars=false
    is_cfi=false
    is_clang=false
    is_component_build=false
    is_debug=false
    is_gcc=true
    is_mingw=false
    is_msvc=false
    is_official_build=true
    is_qtwebengine=true
    is_shared=true
    is_unsafe_developer_build=false
    jumbo_build_excluded=["browser"]
    jumbo_file_merge_limit=8
    ozone_auto_platforms=false
    pdf_enable_v8=false
    pdf_enable_xfa=false
    pdf_enable_xfa_bmp=false
    pdf_enable_xfa_gif=false
    pdf_enable_xfa_png=false
    pdf_enable_xfa_tiff=false
    pdfium_use_qt_libpng=false
    pdfium_use_system_libpng=true
    pdfium_use_system_libtiff=true
    pdfium_use_system_zlib=true
    pkg_config="/usr/bin/pkg-config"
    qt_freetype_config="/home/stuv/Qt/6.6.1/Src/qtwebengine/src/pdf/Release/x86_64:qt_freetype_config"
    qt_harfbuzz_config="/home/stuv/Qt/6.6.1/Src/qtwebengine/src/pdf/Release/x86_64:qt_harfbuzz_config"
    qt_libjpeg_config="/home/stuv/Qt/6.6.1/Src/qtwebengine/src/pdf/Release/x86_64:qt_libjpeg_config"
    qt_libpng_config="/home/stuv/Qt/6.6.1/Src/qtwebengine/src/pdf/Release/x86_64:qt_libpng_config"
    qtwebengine_target="/home/stuv/Qt/6.6.1/Src/qtwebengine/src/pdf/Release/x86_64:QtPdf"
    strip_absolute_paths_from_debug_symbols=false
    symbol_level=0
    treat_warnings_as_errors=false
    use_allocator_shim=false
    use_custom_libcxx=false
    use_dawn=false
    use_gnome_keyring=false
    use_gold=false
    use_jumbo_build=true
    use_lld=false
    use_ml_inliner=false
    use_partition_alloc=true
    use_partition_alloc_as_malloc=false
    use_qt_freetype=false
    use_qt_harfbuzz=false
    use_qt_libjpeg=false
    use_sysroot=false
    use_system_icu=false
    use_system_libopenjpeg2=false
    use_system_libpng=true
    use_thin_lto=false
    v8_symbol_level=0
    -- GN Done. Made 17664 targets from 2873 files in 3922ms
    FAILED: qtwebengine/src/core/Release/x86_64/QtWebEngineCore.stamp qtwebengine/src/core/Release/x86_64/obj/tools/v8_context_snapshot/v8_context_snapshot.stamp qtwebengine/src/core/Release/x86_64/QtWebEngineCore /home/stuv/Qt/6.6.1/Src/qtwebengine/src/core/Release/x86_64/QtWebEngineCore.stamp /home/stuv/Qt/6.6.1/Src/qtwebengine/src/core/Release/x86_64/obj/tools/v8_context_snapshot/v8_context_snapshot.stamp /home/stuv/Qt/6.6.1/Src/qtwebengine/src/core/Release/x86_64/QtWebEngineCore
    cd /home/stuv/Qt/6.6.1/Src/qtwebengine/src/core && /usr/bin/ninja -C /home/stuv/Qt/6.6.1/Src/qtwebengine/src/core/Release/x86_64 QtWebEngineCore
    ninja: build stopped: subcommand failed.

    1 Reply Last reply
    0

    • Login

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