[Development] Qt 5.5.0 header diff: QtSerialPort.diff

Thiago Macieira thiago.macieira at intel.com
Sat Jun 6 10:06:24 CEST 2015


On Friday 05 June 2015 10:10:47 Frederik Gladhorn wrote:
> +#if QT_DEPRECATED_SINCE(5, 2)
> +    QT_DEPRECATED void dataErrorPolicyChanged(QSerialPort::DataErrorPolicy
> policy); 
> +#endif
>      void dataTerminalReadyChanged(bool set);
>      void requestToSendChanged(bool set);
>      void error(QSerialPort::SerialPortError serialPortError);
> -    void settingsRestoredOnCloseChanged(bool restore);
> +#if QT_DEPRECATED_SINCE(5, 3)
> +    QT_DEPRECATED void settingsRestoredOnCloseChanged(bool restore);
> +#endif

Retroactive deprecations are not allowed. Please change the macros to (5,5), 
even if the functions had been marked as deprecated in the documentation.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list