[Development] QT_WARNING_MSG/QT_DEPRECATED_HEADER

Thiago Macieira thiago.macieira at intel.com
Thu Dec 7 15:39:56 CET 2023


On Wednesday, 6 December 2023 23:58:10 PST Marc Mutz via Development wrote:
> Hi,
> 
> I've developed these to deprecate qspan_p.h in favour of qspan.h, but
> we'll now just remove the old header instead. I can see us apply it to
> qglobal.h, but not for 6.7.
> 
> But if you have a use for a cross-platform #warning or the deprecation
> of a whole header, restore and stage
> https://codereview.qt-project.org/c/qt/qtbase/+/523363, it's already
> approved and just waits for a user.

QT_WARNING_MSG is useful in other contexts too, for example for deprecating 
macros.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5163 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20231207/a0dc5eb9/attachment.bin>


More information about the Development mailing list