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
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to