Request Api https Proble QSSlConfiguration
I am trying to implement the requests in https but I have problems with openssl.
If I try to set a configuration:
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 ?
Yes is included.
Is it a custom build Qt ?
I try with custom build 5.3.1 mvsc2010, and with a normal 5.3.1
Did you enable SSL support in your custom build ?
In custom build was not build to me, for this reason I have tried it with version no custom.
I try in MAC OS system, the problem does not occur.
Just to be sure: it fails to build on Windows even if you use one of the official package ?