[Development] Removing the global static QObject from QPixmapCache
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Sun May 30 17:13:59 CEST 2021
On 30/05/2021 14:11, Konstantin Shegunov wrote:
> A very simple solution is to make the cache a member of QGA(P), create
> it lazily if needed (like Q_G_S does; but I've got the funny feeling
> that the pixmap cache is used in 100% Qt apps, so maybe that's not even
> needed), and kill it in ~QGA.
>
>
> That should work, but it'd be one of them "exceptions", wouldn't it ...? ;)
Sorry, exceptions to what?
--
Giuseppe D'Angelo | giuseppe.dangelo at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4329 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.qt-project.org/pipermail/development/attachments/20210530/ae88acbc/attachment.bin>
More information about the Development
mailing list