Docs: clarify that settingsRestoredOnClose might have no effect


The tests show that macOS seems to always reset the port on close.
Tested not only with Qt, but also with raw POSIX calls and 3-rd party
tools, like minicom.
Update the unit-tests and extend the docs to mention this limitation.

Amends 1dae2925dffdd73e87b8d09769038ea59a8b454c.

Pick-to: 6.9
Change-Id: I5c2f9443e5c06bef155da3a926e02083f5c5cf8c
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
commit554478a9ffb19b32759e9ffc2f509821e30117ca
parent3f05f97ded0bf4c82f2e6e8c41f6e8974a6409c2
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeWed, 11 Dec 2024 11:56:22 +0100