[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#1057755: Qt WebEngine Security Support In Stable



Dmitry,


On Wednesday, December 20, 2023 1:21:49 PM MST Dmitry Shachnev wrote:

> Small correction for your bug report. You write:

>

> “Qt 6 has a public version of this API:

> https://doc.qt.io/qt-6/qml-qtwebengine-webenginedownloadrequest.html”

>

> However, that link is for the QML interface documentation. But what angelfish

> actually does is using the Qt Quick class from the C++ code. As I understand,

> you have to do such things when you have mixed QML and C++ code, and want to

> interact with QML components from the C++ part.


I must admit that I have no personal experience with connecting QML and C++.  But it seems to me from the documentation Qt has produced there are several ways to bridge the two without accessing private headers.


https://doc.qt.io/qt-5/qtqml-cppintegration-overview.html


Beyond what is written there, Angelfish deals with a lot of classes besides WebEngineDownloadItem.  Somehow, with all the others, they are able to do what they need to do without accessing private headers, which would indicate to me that there must be some way to do it in this case as well.


--

Soren Stoutner

soren@stoutner.com

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: