Missing qWebEngine(Chromium)Version()

Phil Thompson phil at riverbankcomputing.com
Tue Apr 26 13:03:19 BST 2022


On 25/04/2022 18:15, Florian Bruhin wrote:
> On Wed, Apr 20, 2022 at 09:45:30AM +0200, Florian Bruhin wrote:
>> On Tue, Apr 19, 2022 at 03:58:27PM +0100, Phil Thompson wrote:
>> >
>> > On 16/04/2022 13:24, Florian Bruhin wrote:
>> > > Hey,
>> > >
>> > > In Qt 6.2, qWebEngine(Chromium)Version() getters were added to
>> > > QtWebEngineCore:
>> > > https://codereview.qt-project.org/c/qt/qtwebengine/+/333557
>> > >
>> > > It seems like they didn't make it into PyQt so far?
>> >
>> > As far as I can tell they aren't documented.
>> 
>> That seems like an oversight, because the diff does include qdoc-like
>> strings. I opened an issue: 
>> https://bugreports.qt.io/browse/QTBUG-102743
>> 
>> They are at least mentioned in the documentation here:
>> https://doc.qt.io/qt-6/qtwebengine-overview.html#qt-webengine-core-module
>> 
>>     "The Chromium version can also be read at runtime using the
>>     qWebEngineChromiumVersion() method, and
>>     qWebEngineChromiumSecurityPatchVersion() to read the current patch
>>     level."
>> 
>> qWebEngineVersion() and qWebEngineChromiumVersion() were added in 6.2,
>> while qWebEngineChromiumSecurityPatchVersion() was added in 6.3.
>> 
>> If the mention above is enough to make them "official", it'd be good 
>> to
>> have them in PyQt too (ideally all three).
> 
> They are now documented properly:
> https://doc-snapshots.qt.io/qt6-6.3/qtwebenginecoreglobal-h.html

They will be in the next snapshot.

Phil


More information about the PyQt mailing list