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.dang...@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

Attachment: smime.p7s
Description: Firma crittografica S/MIME

_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to