[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: Missing qWebEngine(Chromium)Version()
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2022-04-26 12:03:19
Message-ID: c09a83420338ee0616a532efb558edff () riverbankcomputing ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic