[Development] QWebEnginePage and Qt 6: protected virtual functions and signals

Allan Sandfeld Jensen kde at carewolf.com
Thu May 27 14:17:07 CEST 2021

On Donnerstag, 27. Mai 2021 13:55:01 CEST Benjamin TERRIER wrote:
> On Thu, 27 May 2021 at 11:25, Allan Sandfeld Jensen <kde at carewolf.com>
> But then in my code, each time I see a CrazySSLPage I am never sure that it
> will ignore SSL errors. Maybe someone called QObject::disconnect() on it.
> CrazySSLPage page;
> page.disconnect(); // It's just a QWebEnginePage now

If you call disconnect on a QWebEnginePage (or most advanced Qt classes) you 
have bigger problems than that, we rely on that for internal stuff too. As a 
C++ toolkit we can not protect users from doing bad things, it is always in 
their power.


More information about the Development mailing list