From 39d79e16577331f2a8f84df2f63d28e2f03a1ca4 Mon Sep 17 00:00:00 2001 From: Denis Shienkov Date: Thu, 23 Feb 2017 20:53:55 +0300 Subject: Doc: Describe limitations to use of QSP::setRequestToSend() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The limitations were introduced by the commit 56c001b, but were not documented. Change-Id: I5e44ab78e2e5cce2477ebc1f83280fa8c22e0ef6 Reviewed-by: Topi Reiniƶ --- src/serialport/qserialport.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/serialport/qserialport.cpp b/src/serialport/qserialport.cpp index 81beb2d..8140deb 100644 --- a/src/serialport/qserialport.cpp +++ b/src/serialport/qserialport.cpp @@ -956,6 +956,10 @@ bool QSerialPort::isDataTerminalReady() property; otherwise \c false is returned and the error code is set to NotOpenError. + \note An attempt to control the RTS signal in the HardwareControl mode + will fail with error code set to UnsupportedOperationError, because + the signal is automatically controlled by the driver. + \sa pinoutSignals() */ bool QSerialPort::setRequestToSend(bool set) -- cgit v1.2.1