Request Api https Proble QSSlConfiguration
-
Hello,
I am trying to implement the requests in https but I have problems with openssl.
If I try to set a configuration:
QSslconfiguration config;
I have this error
error: C2079: 'config' uses undefined class 'QSslConfiguration'In .pro file i have
LIBS + = -LC: / OpenSSL-Win64 / lib -lubsec
INCLUDEPATH + = C: / OpenSSL-Win64 / include \How can I do?
-
Hi and welcome to devnet,
Might be a silly question, but did you add
#include <QSslConfiguration>
in your cpp file ? -
Is it a custom build Qt ?
-
Did you enable SSL support in your custom build ?
-
Just to be sure: it fails to build on Windows even if you use one of the official package ?