I've integrated QtWebEngine with the following modifications in local.conf.
Just add the following lines of code to conf/local.conf QTWebEngine for integration.
IMAGE_INSTALL_append = " \
qtwebengine-dev \
qtwebengine \qtwebengine-examples \
qtbase-fonts-ttf-vera \
qtbase-fonts-ttf-dejavu \
qtbase-fonts-pfa \
qtbase-fonts-pfb \
qtbase-fonts-qpf
"Also add the following code in sources/meta-qt5/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb
USE_WEBENGINE = " \
qtwebengine-dev \
qtwebengine-mkspecs \
qtwebengine \
"RDEPENDS_${PN} += " \
${USE_WEBENGINE} \
"
I use fsl-image-avb for building the image.
I'm able to see all the related QtWebEngine libraries in the image. Also, when I launch the quicknanobrowser application, it is loading youtube with ./quicknanobrowser -platform eglfs. But unable to play videos on it; the app is crashing.
I want to play youtube videos for wayland compositor. Please help me with this.
We are also trying to use qtwebengine on our iMX6 we use yocto sumo with qt 5.10.1
We have the quicknanobrowser example running on the target and it works a bit,
Google search works, but most other sites not. (See below)
Also Youtube crashes even before i play a video.
Does anybody know the status of qtwebengine for iMx6?
Is it stable enough to use for imx6 ?
With Video support?
What to use for video support?
I can not find online help to make this work without crashes.
Here is the log of Starting quicknanobrowser on our imx6 target from qtcreator and going to youtube:
Starting /usr/share/qt5/examples/webengine/quicknanobrowser/quicknanobrowser...
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QEglFSVivIntegration will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.
If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
[1:1:1005/073844.079361:VERBOSE1:sandbox_linux.cc(154)] Lacking support for seccomp-bpf sandbox.
[1:1:1005/073844.080204:VERBOSE1:zygote_main_linux.cc(560)] ZygoteMain: initializing 0 fork delegates
[719:746:1005/073848.523680:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Google 'Aviator' log
[719:746:1005/073848.524129:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Google 'Icarus' log
[719:746:1005/073848.524402:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Google 'Pilot' log
[719:746:1005/073848.524703:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Google 'Rocketeer' log
[719:746:1005/073848.524957:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Google 'Skydiver' log
[719:746:1005/073848.525236:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: DigiCert Log Server
[719:746:1005/073848.525464:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: DigiCert Log Server 2
[719:746:1005/073848.525740:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Symantec log
[719:746:1005/073848.525966:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Symantec 'Vega' log
[719:746:1005/073848.526190:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Symantec 'Sirius' log
[719:746:1005/073848.526408:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: WoSign log
[719:746:1005/073848.526682:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Venafi Gen2 CT log
[719:746:1005/073848.526905:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: CNNIC CT log
[719:746:1005/073848.527181:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: StartCom log
[719:746:1005/073848.527405:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Comodo 'Sabre' CT log
[719:746:1005/073848.527676:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Comodo 'Mammoth' CT log
[719:746:1005/073848.527900:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Izenpe log
[719:746:1005/073848.528204:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Venafi log
[719:746:1005/073848.528425:VERBOSE1:multi_log_ct_verifier.cc(75)] Adding CT log: Certly.IO log
[719:748:1005/073849.938137:VERBOSE1:gles2_cmd_decoder.cc(3412)] GL_OES_packed_depth_stencil supported.
[719:748:1005/073849.986519:VERBOSE1:gles2_cmd_decoder.cc(3412)] GL_OES_packed_depth_stencil supported.
[719:746:1005/073910.155957:VERBOSE1:loader_util.cc(31)] To buffer: https://play.google.com/log?hasfast=true&authuser=0&format=json
js: Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M65, around March 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths.
[719:719:1005/073912.049051:INFO:CONSOLE(0)] "Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M65, around March 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths.", source: (0)
js: Refused to display 'https://accounts.google.com/ServiceLogin?service=youtube&uilel=3&continue=https%3A%2F%2Fwww.youtube....' in a frame because it set 'X-Frame-Options' to 'deny'.
[719:719:1005/073916.525554:INFO:CONSOLE(0)] "Refused to display 'https://accounts.google.com/ServiceLogin?service=youtube&uilel=3&continue=https%3A%2F%2Fwww.youtube....' in a frame because it set 'X-Frame-Options' to 'deny'.", source: https://www.youtube.com/?gl=NL (0)
[719:719:1005/073916.538982:VERBOSE1:navigator_impl.cc(242)] Failed Provisional Load: https://accounts.google.com/ServiceLogin?service=youtube&uilel=3&continue=https%3A%2F%2Fwww.youtube...., error_code: -27, error_description: <strong jscontent="hostName"></strong> refused to connect., showing_repost_interstitial: 0, frame_id: 3
[1:1:1005/073919.049292:FATAL:ICUError.cpp(23)] Check failed: false. 1
#0 0x00007546ac9a <unknown>
#1 0x00007546ab16 <unknown>
#2 0x0000754776ce <unknown>
#3 0x000075c42214 <unknown>
#4 0x000075c41c0e <unknown>
#5 0x0000763e8490 <unknown>
#6 0x0000763e8798 <unknown>
#7 0x0000763e87ec <unknown>
#8 0x0000763e4e06 <unknown>
#9 0x000075e08cb6 <unknown>
#10 0x000075e0b494 <unknown>
#11 0x000075e0cbe8 <unknown>
#12 0x000075dbcef2 <unknown>
#13 0x000075dbd396 <unknown>
#14 0x000075dbd5f2 <unknown>
#15 0x000075dc5d1a <unknown>
#16 0x000075dc5e0e <unknown>
#17 0x000075dc63a0 <unknown>
#18 0x000075dbd9ce <unknown>
#19 0x000075dc6d38 <unknown>
#20 0x000075dc748a <unknown>
#21 0x000075dc63a0 <unknown>
#22 0x000075daec44 <unknown>
#23 0x000075dc590e <unknown>
#24 0x000075dc5c62 <unknown>
#25 0x000075dc5d64 <unknown>
#26 0x000075dc5e0e <unknown>
#27 0x000075dc63a0 <unknown>
#28 0x000075daec44 <unknown>
#29 0x000075dc590e <unknown>
#30 0x000075dc5c62 <unknown>
#31 0x000075dc5d64 <unknown>
#32 0x000075dc5e0e <unknown>
#33 0x000075dc63a0 <unknown>
#34 0x000075dbf2ae <unknown>
#35 0x000075dc7e32 <unknown>
#36 0x000075dc8034 <unknown>
#37 0x000075dc63a0 <unknown>
#38 0x000075daec44 <unknown>
#39 0x000075dc590e <unknown>
#40 0x000075dc5c62 <unknown>
#41 0x000075dc5d64 <unknown>
#42 0x000075dc5e0e <unknown>
#43 0x000075dc63a0 <unknown>
#44 0x000075daec44 <unknown>
#45 0x000075dc590e <unknown>
#46 0x000075dc5c62 <unknown>
#47 0x000075dc5d64 <unknown>
#48 0x000075dc5e0e <unknown>
#49 0x000075dc63a0 <unknown>
#50 0x000075dbd5cc <unknown>
#51 0x000075dc5d1a <unknown>
#52 0x000075dc5e0e <unknown>
#53 0x000075dc63a0 <unknown>
#54 0x000075dbd5cc <unknown>
#55 0x000075dc5d1a <unknown>
#56 0x000075dc5e0e <unknown>
#57 0x000075dc63a0 <unknown>
#58 0x000075daec44 <unknown>
#59 0x000075dc590e <unknown>
#60 0x000075dc5c62 <unknown>
#61 0x000075dc5d64 <unknown>
Received signal 6
#
........
quicknanobrowserbrowser keeps restarting with same results
what bsp version do you use? Qt webengine should work on FB 4.1.15-2.0.0 release.
Yes, I'm using 4.1.15-2.0.0 version.
Starting program: /opt/quicknanobrowser
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Using Wayland-EGL
[New Thread 0x68dd8450 (LWP 823)]
[New Thread 0x68376450 (LWP 826)]
[New Thread 0x65d10450 (LWP 827)]
[New Thread 0x653ff450 (LWP 829)]
[New Thread 0x649ff450 (LWP 830)]
[New Thread 0x641ff450 (LWP 831)]
[New Thread 0x639ff450 (LWP 832)]
[New Thread 0x62fff450 (LWP 833)]
[New Thread 0x627ff450 (LWP 834)]
[New Thread 0x61fff450 (LWP 835)]
[New Thread 0x617ff450 (LWP 836)]
[New Thread 0x60fff450 (LWP 837)]
[New Thread 0x607ff450 (LWP 838)]
[New Thread 0x5ffff450 (LWP 839)]
[New Thread 0x5f7ff450 (LWP 840)]
[New Thread 0x5efff450 (LWP 841)]
[New Thread 0x5e7ff450 (LWP 842)]
[New Thread 0x5dfff450 (LWP 843)]
[New Thread 0x5d58b450 (LWP 845)]
[New Thread 0x5cd8b450 (LWP 846)]
int main(int, char**) qml loaded
[New Thread 0x5c4e9450 (LWP 858)]
wayland-egl platform not yet supported
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x5efff450 (LWP 841)]
0x73362910 in __GI_raise (sig=sig@entry=6)
at /usr/src/debug/glibc/2.23-r0/git/sysdeps/unix/sysv/linux/raise.c:54
54 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) bt
#0 0x73362910 in __GI_raise (sig=sig@entry=6)
at /usr/src/debug/glibc/2.23-r0/git/sysdeps/unix/sysv/linux/raise.c:54
#1 0x73363ca0 in __GI_abort ()
at /usr/src/debug/glibc/2.23-r0/git/stdlib/abort.c:89
#2 0x73805b30 in QMessageLogger::fatal(char const*, ...) const ()
from /usr/lib/libQt5Core.so.5
#3 0x74fbf954 in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#4 0x75bb8432 in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#5 0x75bb5ab8 in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#6 0x75bb5f34 in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#7 0x75bbc804 in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#8 0x74fc8532 in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#9 0x75a870e6 in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#10 0x75a877a2 in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#11 0x75a75df4 in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#12 0x75a838ea in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#13 0x75de1b4c in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#14 0x75daff3c in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#15 0x75db03aa in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#16 0x75db067c in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#17 0x75db1990 in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#18 0x75dbc0f8 in ?? () from /usr/lib/libQt5WebEngineCore.so.5
#19 0x75daf904 in ?? () from /usr/lib/libQt5WebEngineCore.so.5
---Type <return> to continue, or q <return> to quit---
This is the error log I get after running the quicknanobrowser.