While I think you can compile your way around OpenSSL on Qt if you don't mind a lot of pain, I don't think you can on Python. IIRC, even on the latest Python (3.8), you must have OpenSSL for things like Python's PRNGs, even if you roll your own version of Python. There's been vague talk of making this more modular one day so that people can drop in other libraries. I'll expect that one when Hell freezes over.