Which version of openssl is necessary?

as described in another thread my Linux desktop client cannot connect to the server because of an TLS initialisation error. Now I found in the log file between thousand other error messages the message “2022-08-19 12:57:55:565 [ warning qt.network.ssl unknown:0 ]: Incompatible version of OpenSSL”. On my system the version of the desktop client is 3.5.1 and the version of openssl is 3.0.5. Are these versions incompatible? If it is so, which versions work together?