Il 07/01/19 21:57, Matthew Woehlke ha scritto:
In Qt4, I implemented this by granting special access to
qMetaTypeConstructHelper to allow Qt's guts to access the "copy"
constructor (which is actually a move ctor, but this code predates
C++11). However, it seems in Qt5 I have to poke into the
QtMetaTypePrivate namespace in order to do this.

This has std::auto_ptr written all over it :-)

--
Giuseppe D'Angelo | [email protected] | 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

Attachment: smime.p7s
Description: Firma crittografica S/MIME

_______________________________________________
Interest mailing list
[email protected]
https://lists.qt-project.org/listinfo/interest

Reply via email to