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. Yocto fails to add qtwebengine 5.15.2
Qt 6.11 is out! See what's new in the release blog

Yocto fails to add qtwebengine 5.15.2

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 1.2k 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.
  • O Offline
    O Offline
    Otto Cai
    wrote on last edited by
    #1

    What I used

    • Linux NXP Vendor Kernel v5.10.72_2.2.0-phy9 (based on NXP tag lf-5.10.72-2.2.0)
    • U-boot v2021.04_2.2.0-phy7 (based on NXP tag lf-5.10.72-2.2.0)
    • Yocto 3.3.x (hardknott)
    • Ubuntu 20.04 64-bit

    What I did
    Add the below following in local.conf and run "bitbake qtwebengine"

    IMAGE_INSTALL_append += "qtwebengine"
    

    Error I met

    ERROR: qtwebengine-5.15.2+gitAUTOINC+5537ff4437-r0 do_patch: Command Error: 'quilt --quiltrc /home/phytec/BSP/BSP-Yocto-NXP-i.MX8MP-PD22.1.0/build/tmp/work/cortexa53-crypto-mx8mp-phytec-linux/qtwebengine/5.15.2+gitAUTOINC+5537ff4437-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0  Output:
    stdout: Applying patch 0001-ui_features.gni-Do-not-enable-use_xkbcommon-for-non-.patch
    can't find file to patch at input line 20
    Perhaps you used the wrong -p or --strip option?
    The text leading up to this was:
    --------------------------
    |From d6ad53c37ecab06fbe9c999d6f4aed063552a386 Mon Sep 17 00:00:00 2001
    |From: Neena Busireddy <neenareddy.busireddy@nxp.com>
    |Date: Thu, 4 Jun 2020 15:15:15 +0000
    |Subject: [PATCH] ui_features.gni: Do not enable use_xkbcommon for non
    | x11/wayland backend [YOCIMX-4648]
    |
    |xkbcommon is set as default in chromium
    |https://chromium.googlesource.com/chromium/src.git/+/63d3d7eb06c3518c3be4d97797819d445c8060e4
    |Disable it for framebuffer as xkcommon is not supported. It is supported only on x11 and wayland.
    |
    |Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com>
    |---
    | chromium/ui/base/ui_features.gni | 2 +-
    | 1 file changed, 1 insertion(+), 1 deletion(-)
    |
    |diff --git a/chromium/ui/base/ui_features.gni b/chromium/ui/base/ui_features.gni
    |index ba269ee36c0..8fc462f3c18 100644
    |--- a/chromium/ui/base/ui_features.gni
    |+++ b/chromium/ui/base/ui_features.gni
    --------------------------
    No file to patch.  Skipping patch.
    1 out of 1 hunk ignored
    Patch 0001-ui_features.gni-Do-not-enable-use_xkbcommon-for-non-.patch does not apply (enforce with -f)
    
    stderr: 
    ERROR: Logfile of failure stored in: /home/phytec/BSP/BSP-Yocto-NXP-i.MX8MP-PD22.1.0/build/tmp/work/cortexa53-crypto-mx8mp-phytec-linux/qtwebengine/5.15.2+gitAUTOINC+5537ff4437-r0/temp/log.do_patch.43045
    ERROR: Task (/home/phytec/BSP/BSP-Yocto-NXP-i.MX8MP-PD22.1.0/sources/poky/../meta-qt5/recipes-qt/qt5/qtwebengine_git.bb:do_patch) failed with exit code '1'
    
    

    What I found

    • The error information mentioned "stdout: Applying patch 0001-ui_features.gni-Do-not-enable-use_xkbcommon-for-non-.patch can't find file to patch at input line 20", so I checked if the file exists or not and it turned out nothing.

    • Then I found that git://code.qt.io/qt/qtwebengine-chromium.git didn't work anymore, which was the key issue I thought.

    My question
    Could the URL issue be fixed or is there another way to add qtwebengine in Yocto?

    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