[Development] Conditional Deprecation Warnings
kreios4004 at gmail.com
Sun Oct 13 01:33:00 CEST 2013
> > I had an idea about making conditional deprecation warnings for functions
> > in Qt based on the destination platform.
> That might be useful, actually.
> But not for this case. Trying to call nativeArguments() on a non-Windows
> platform already signals the problem with a full error. It's impossible to
> ignore this.
Here are my changes:
Added Q_DECL_DEPRECATED_CONDITIONAL(conditional, text)
I am struggling with expanding the conditional properly. Currently, I
cannot get it to use defined() in the conditional. Any
suggestions/corrections would be greatly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Development