[Development] The future of smart pointers in Qt API

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Thu Feb 13 12:08:14 CET 2020


Il 13/02/20 10:57, Vitaly Fanaskov ha scritto:
> I think that moving Qt smart pointers to Qt5Compat module creates almost
> no hassle. For Qt users it should be a one line in the terminal to
> replace includes in their code bases (probably also prepend a namespace
> to classes' names, but I'm not sure if there is a namespace).
> 
> In general, I'd say that this is another problem should be addressed
> separately. Feel free to kick off a new thread.

Is there a QTBUG tracking this idea?

It's not "so simple" because Qt smart pointers are being used in a 
couple of public APIs.

-- 
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: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20200213/95bebebb/attachment.bin>


More information about the Development mailing list