Il 22/10/18 07:05, Christian Ehrlicher ha scritto:
Ok, I'll go on with adding Q_DECL_DEPRECATED + QT_VERSION <
QT_VERSION_CHECK(6, 0, 0) in the places where only the documentation
states that this function is deprecated then. Otherwise they might get
forgotten again :)

Q_DEPRECATED_SINCE should be enough in this case -- as in Qt 6 we can just bump it to "5.99" and kill all the deprecated code in one go, effectively achieving the same thing one does with QT_VERSION_CHECK.

Thanks,
--
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

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to