qt - ssl sockets not supported error -


i'm running tornado webserver secure websocket connection on linux centos 6.6. i'm using qt/c++ client connect using qwebsocket opening url "wss://191.23.4.56/etr/job". i'm getting error like, "ssl sockets not supported in platform" error about?

the error message "ssl sockets not supported in platform" printed qwebsocket::open() when url scheme wss , qsslsocket::supportsssl() returns false.

the static member function qsslsocket::supportsssl():

returns true if platform supports ssl; otherwise, returns false. if platform doesn't support ssl, socket fail in connection phase.

that main problem. need find out why qt thinks ssl not supported platform.

if downloaded qt binary package function supportsssl() tries load required libraries libssl , libcrypto dynamically.

if libraries cannot loaded function supportsssl() returns false.

it possible libssl not installed in system. if can find library binaries in system, not loaded qt possible binary libssl and/or libcrypto not compatible binary qt.

to avoid such issues can build own qt. example, there fresh instruction how build qt-5.5.1. note trick -openssl-linked configuration switch. enables integration of openssl libraries qt5 libraries instead of dynamic loading them @ runtime.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -