Building on macOS without openssl

Kovid Goyal kovid at
Thu Jun 23 15:24:54 BST 2022

I am trying to build PyQt 6.3.1 against Qt 6.3.1, compiled without
openssl, so it uses the native mac Secure Transport libraries. As a
result, DTLS is disabled in this Qt build. However, PyQt generates stubs
that include DTLS methods, leading to build failures such as

sipQtNetworkpart2.cpp:9988:30: error: no member named
      'dtlsCookieVerificationEnabled' in 'QSslConfiguration'
            sipRes = sipCpp->dtlsCookieVerificationEnabled();
                     ~~~~~~  ^

How can I get pyqt to exclude DTLS?


Dr. Kovid Goyal

More information about the PyQt mailing list