I am trying to learn how to network using Qt, and I recently got stuck with one of their examples, "The twitter timeline example", it keeps on giving me this error,"", after surfing the net, I found out that it is probably because I do not have openssl installed. Can someone please tell me what I am doing
After following this example and several others, How to Include OpenSSL in a Qt project , the problem remains unchanged.
this is my .pro file
QT = core widgets network networkauth
requires(qtConfig(tableview))
CONFIG -= app_bundle
LIBS += -LC:/OpenSSL-Win64/lib -lubsec
HEADERS += \
twitter.h \
twittertimelinemodel.h
INCLUDEPATH += C:/OpenSSL-Win64/include
SOURCES += \
main.cpp \
twitter.cpp \
twittertimelinemodel.cpp
FORMS += \
twitterdialog.ui
# install
target.path = $$[QT_INSTALL_EXAMPLES]/oauth/twittertimeline
INSTALLS += target
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed qt.networkauth.replyhandler: TLS initialization failed The error it keeps on returning.