diff --git a/coin/module_config.yaml b/coin/module_config.yaml index 16d158c6..aaf33238 100644 --- a/coin/module_config.yaml +++ b/coin/module_config.yaml @@ -10,3 +10,4 @@ instructions: Test: - !include "{{qt/qtbase}}/coin_module_test_template_v3.yaml" + - !include "{{qt/qtbase}}/coin_module_test_docs.yaml" diff --git a/src/bluetooth/doc/qtbluetooth.qdocconf b/src/bluetooth/doc/qtbluetooth.qdocconf index 5040acfc..d8bc6e7a 100644 --- a/src/bluetooth/doc/qtbluetooth.qdocconf +++ b/src/bluetooth/doc/qtbluetooth.qdocconf @@ -46,3 +46,6 @@ imagedirs += images navigation.landingpage = "Qt Bluetooth" navigation.cppclassespage = "Qt Bluetooth C++ Classes" + +# Fail the documentation build if there are more warnings than the limit +warninglimit = 0 diff --git a/src/bluetooth/qbluetoothsocket.cpp b/src/bluetooth/qbluetoothsocket.cpp index 74acfd1b..59c09ddc 100644 --- a/src/bluetooth/qbluetoothsocket.cpp +++ b/src/bluetooth/qbluetoothsocket.cpp @@ -752,13 +752,15 @@ void QBluetoothSocket::close() } /*! - Set the socket to use \a socketDescriptor with a type of \a socketType, - which is in state, \a socketState, and mode, \a openMode. + \fn bool QBluetoothSocket::setSocketDescriptor(int socketDescriptor, QBluetoothServiceInfo::Protocol socketType, SocketState socketState, OpenMode openMode) - The set socket descriptor is considered owned by the QBluetoothSocket - and may be e.g. closed once finished. + Sets the socket to use \a socketDescriptor with a type of \a socketType, + which is in state \a socketState, and mode \a openMode. - Returns true on success + The socket descriptor is owned by the QBluetoothSocket instance and may + be closed once finished. + + Returns \c true on success. */ // ### Qt 7 consider making this function private. The qbluetoothsocket_bluez backend is the diff --git a/src/nfc/doc/qtnfc.qdocconf b/src/nfc/doc/qtnfc.qdocconf index 7d69c45d..f3c39bf2 100644 --- a/src/nfc/doc/qtnfc.qdocconf +++ b/src/nfc/doc/qtnfc.qdocconf @@ -43,3 +43,6 @@ imagedirs += images navigation.landingpage = "Qt NFC" navigation.cppclassespage = "Qt NFC C++ Classes" + +# Fail the documentation build if there are more warnings than the limit +warninglimit = 0