BB10, QNetworkAccessManager and TLS 1.2: watch out


This will be quick: I just wasted several hours troubleshooting why QNetworkAccessManager was not connecting to one of my webservices. Apparently the version of Qt that ships with Black Berry 10 does not support TLS 1.1 or 1.2, which really rains on my parade. You can see the enumeration of supported SSL protocols here and how it tops out at TLS 1.0.

For reference, this is the error message I was getting. I don't know why it doesn't contain any useful information:

INFO        "Error: Connection closed status: "

QT 5 supports TLS 1.2, so I hope that we get that goodness in the platform before it gets completely androidized.