Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. when I cross_compile Qt5.15.2 with Raspberry pi4 , build qtwebengine occur the errror:
Forum Updated to NodeBB v4.3 + New Features

when I cross_compile Qt5.15.2 with Raspberry pi4 , build qtwebengine occur the errror:

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 258 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.
  • B Offline
    B Offline
    bbc123456
    wrote on 3 Feb 2021, 08:30 last edited by
    #1

    [9326/20587] /usr/bin/python2 ../../3rdparty/chromium/tools/grit/grit.py -i ../../3rdparty/chromium/ui/webui/resources/webui_resources.grd build -o gen/ui/resources --depdir . --depfile gen/ui/resources/webui_resources_grd_grit.d --write-only-new=1 --depend-on-stamp -D scale_factors=2x -D _chromium -E CHROMIUM_BUILD=chromium -D use_aura -D use_nss_certs -D use_ozone -t linux2 -D optimize_webui=false -E root_gen_dir=gen -f gen/tools/gritsettings/default_resource_ids --assert-file-list obj/ui/resources/webui_resources_grd_expected_outputs.txt
    [9327/20587] /usr/bin/python2 ../../3rdparty/chromium/mojo/public/tools/bindings/mojom_bindings_generator.py --use_bundled_pylibs -o gen generate -d ../../3rdparty/chromium/ -I ../../3rdparty/chromium/ --bytecode_path gen/mojo/public/tools/bindings --filelist=__services_viz_public_mojom_mojom_shared__generator__home_abc_raspi_qt-everywhere-src-5.15.2_qtwebengine_src_toolchain_target__rule..rsp --generate_non_variant_code -g c++
    [9328/20587] /usr/bin/python2 ../../3rdparty/chromium/mojo/public/tools/bindings/mojom_bindings_generator.py --use_bundled_pylibs -o gen generate -d ../../3rdparty/chromium/ -I ../../3rdparty/chromium/ --bytecode_path gen/mojo/public/tools/bindings --filelist=__services_viz_public_mojom_mojom__generator__home_abc_raspi_qt-everywhere-src-5.15.2_qtwebengine_src_toolchain_target__rule..rsp -g c++ --typemap gen/services/viz/public/mojom/mojom__type_mappings --scrambled_message_id_salt_path ../../3rdparty/chromium/chrome/VERSION
    [9329/20587] /usr/bin/python2 ../../3rdparty/chromium/mojo/public/tools/mojom/mojom_parser.py --input-root /home/abc/raspi/qt-everywhere-src-5.15.2/qtwebengine/src/3rdparty/chromium/ --input-root /home/abc/raspi/qt-everywhere-src-5.15.2/qtwebengine/src/core/release/gen --output-root /home/abc/raspi/qt-everywhere-src-5.15.2/qtwebengine/src/core/release/gen --mojom-file-list=__services_network_public_mojom_mojom__parser__home_abc_raspi_qt-everywhere-src-5.15.2_qtwebengine_src_toolchain_target__rule..rsp --enable-feature is_ct_supported --enable-feature needs_crypt_config --enable-feature is_posix --enable-feature is_linux
    ninja: build stopped: subcommand failed.
    Makefile.gn_run:1139: recipe for target 'run_ninja' failed
    make[4]: *** [run_ninja] Error 1
    make[4]: Leaving directory '/home/abc/raspi/qt-everywhere-src-5.15.2/qtwebengine/src/core'
    Makefile:82: recipe for target 'sub-gn_run-pro-make_first' failed
    make[3]: *** [sub-gn_run-pro-make_first] Error 2
    make[3]: Leaving directory '/home/abc/raspi/qt-everywhere-src-5.15.2/qtwebengine/src/core'
    Makefile:78: recipe for target 'sub-core-make_first' failed
    make[2]: *** [sub-core-make_first] Error 2
    make[2]: Leaving directory '/home/abc/raspi/qt-everywhere-src-5.15.2/qtwebengine/src'
    Makefile:48: recipe for target 'sub-src-make_first' failed
    make[1]: *** [sub-src-make_first] Error 2
    make[1]: Leaving directory '/home/abc/raspi/qt-everywhere-src-5.15.2/qtwebengine'
    Makefile:1060: recipe for target 'module-qtwebengine-make_first' failed
    make: *** [module-qtwebengine-make_first] Error 2

    configure for example:
    ./configure -release -opengl es2 -device linux-rasp-pi4-v3d-g++ -device-option CROSS_COMPILE=~/raspi/cross-compile-tool/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -reduce-exports -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5pi-host -no-use-gold-linker -skip qtwayland -nomake examples -nomake tests -v

    what can I do for next step?

    1 Reply Last reply
    0

    1/1

    3 Feb 2021, 08:30

    • Login

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