[Development] Conditional Deprecation Warnings

Keith Gardner kreios4004 at gmail.com
Fri Oct 11 18:30:23 CEST 2013


I had an idea about making conditional deprecation warnings for functions
in Qt based on the destination platform.  The idea would be to get a
compile time warning when using a function on a platform that the function
does not supported.  An example would be calling
QProcess::nativeArguments() on non a non-Windows platform since the
documentation states that it is only available on Windows.  This could also
probably be used to provide a custom deprecation warning message to the
developer stating the limitation for that platform.

Would this be a useful idea or create too many headaches?

Thanks,
Keith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20131011/77b58845/attachment.html>


More information about the Development mailing list