[Development] Assistant WebKit/WebEngine support

Simon Hausmann Simon.Hausmann at qt.io
Tue Jun 25 10:12:24 CEST 2019


Hi,


I think you're right, the linkage appears to be due to the use of QQuickWidget as child widget of QWebEngineView. Do you think that's a problem?



Simon


________________________________
From: Giuseppe D'Angelo <giuseppe.dangelo at kdab.com>
Sent: Tuesday, June 25, 2019 10:02
To: Simon Hausmann; development at qt-project.org
Subject: Re: [Development] Assistant WebKit/WebEngine support

Hi,

Il 25/06/19 09:26, Simon Hausmann ha scritto:
>
> QtQuick 2 is not required for using WebEngine and there is support for
> software rendering. The existing Qt Creator integration as well as the
> proposed patch to Qt Assistant to use Web Engine is using the widgets
> integration.
>
> To put it to a test, I just installed a fresh Windows 10 in VirtualBox
> on my Linux Box, installed VS, Qt Creator and Qt 5.13 and compiled the
> web engine widgets simple browser example. It built and ran out of the
> box inside the virtual machine and I could browser qt.io and doc.qt.io.


[citation needed], though: why is QtWebEngine linking against Qt Quick?

> $ readelf -d libQt5WebEngineWidgets.so
>
> Dynamic section at offset 0x3eab0 contains 46 entries:
>   Tag        Type                         Name/Value
>  0x0000000000000001 (NEEDED)             Shared library: [libQt5WebEngineCore.so.5]
>  0x0000000000000001 (NEEDED)             Shared library: [libQt5Quick.so.5]
>  0x0000000000000001 (NEEDED)             Shared library: [libQt5PrintSupport.so.5]
>  0x0000000000000001 (NEEDED)             Shared library: [libQt5Widgets.so.5]
>  0x0000000000000001 (NEEDED)             Shared library: [libQt5Gui.so.5]
>  0x0000000000000001 (NEEDED)             Shared library: [libQt5WebChannel.so.5]
>  0x0000000000000001 (NEEDED)             Shared library: [libQt5Qml.so.5]
>  0x0000000000000001 (NEEDED)             Shared library: [libQt5Network.so.5]
>  0x0000000000000001 (NEEDED)             Shared library: [libQt5Positioning.so.5]
>  0x0000000000000001 (NEEDED)             Shared library: [libQt5Core.so.5]
>  0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
>  0x0000000000000001 (NEEDED)             Shared library: [libQt5QuickWidgets.so.5]
>  0x0000000000000001 (NEEDED)             Shared library: [libGL.so.1]
>  0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
>  0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
>  0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
>  0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
>  0x000000000000000e (SONAME)             Library soname: [libQt5WebEngineWidgets.so.5]
>  0x000000000000001d (RUNPATH)            Library runpath: [$ORIGIN]
[snip]

The software renderer path should be discussed with the authors of the
other Qt Quick-based plugins inside Creator (as currently the decision
of using software rendering is process-wide).



My 2 c,
--
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20190625/62dd71a6/attachment.html>


More information about the Development mailing list