Problems sending email using QT via SMTP - qt

I think am having trouble in the library i was told to add libcrypto-1_1.dll libeay32.dll and libssl-1_1.dll in the Debug folder of my project . Also i added network in my .pro file but still don't know what's going wrong.
This is my output:
StateChanged QAbstractSocket::HostLookupState
StateChanged QAbstractSocket::ConnectingState
StateChanged QAbstractSocket::ConnectedState
qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
Error QAbstractSocket::SocketError(21)
Qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
Error QAbstractSocket::SocketError(20)
Connected
Error QAbstractSocket:: RemoteHostClosedError
StateChanged QAbstractSocket::ClosingState
StateChanged QAbstractSocket::UnconnectedState
Disconnected
Error "The remote host closed the connection

Related

There has been a critical error on this website. Learn more about troubleshooting WordPress

Fatal error
: Uncaught Error: Call to undefined function wvs_get_wc_attribute_taxonomy() in /var/www/wp-content/themes/pharmacy2/inc/merlin/includes/class-wc-widget-layered-nav.php:329

SSL errors in Qt Creator QmlScene [duplicate]

This question already has answers here:
QSslSocket: cannot call unresolved function
(5 answers)
Closed 4 years ago.
I am working on an ESRI AppStudio 3.1 app developed in Qt 5.11.2 and QML. I want to run my app in Qt Creator and be able to preview it with the qmlscene tool. I followed the steps ESRI provides to set this up and it has been working fine. However, we just added functionality to make a XMLHttpRequest via JavaScript to an API over HTTPS. This works when launching the app via the AppStudio AppRun.exe tool (Qt Creator Tools menu > External > AppStudio > Run) but does not work in qmlscene. I get the following console errors when trying to make the HTTPS call:
qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
I found a number of people who had this problem with Qt apps and it was resolved by fixing OpenSSL .dlls references. This issue is pretty close: QSslSocket: cannot call unresolved function
However, it deals with compiling a Qt app not running the qmlscene tool for an AppStudio app.
My project is set to run using the Desktop Qt 5.11.2 MSVC2017 64bit (msvc2017_64) kit and I have ensured that the libeay32.dll and ssleay32.dll files are present in C:\Qt\Qt5.11.2\5.11.2\msvc2017_64\bin. I have verified that QtCreator is launching qmlscene from C:\Qt\Qt5.11.2\5.11.2\msvc2017_64\bin\qmlscene.exe. How do I get the network requests to work?
Somewhere in my research on this error I saw that this can be caused by the wrong versions of the OpenSSL libraries being used. I copied
%USERPROFILE%\Applications\ArcGIS\AppStudio\bin\libeay32.dll
%USERPROFILE%\Applications\ArcGIS\AppStudio\bin\ssleay32.dll
into C:\Qt\Qt5.11.2\5.11.2\msvc2017_64\bin to replace the ones that were there (I am not sure if they were there from the start or if I added them after downloading them from the OpenSSL website). This resolved my issue!

QSslSocket: cannot resolve SSLv2_server_method "Wkhtmltopdf " odoo

when i print my report i get this error , i don't know how to solve it
this is the error
Rapport (PDF
Wkhtmltopdf a échoué (code d'erreur : -11). Message : QSslSocket: cannot resolve SSLv2_client_method
QSslSocket: cannot resolve SSLv2_server_method
This error is reported on wkhtmltopdf repo:
https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1516
https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2431
Make sure you have ssl libs properly installed and that you are using the correct wkhtmltopdf version (should be 0.12.1 on odoo)
you need to remove the system entry parameters web.base.url you can find in the following menu
Settings --> Parameters --> System Parameters

(Qt 5.7) xcoder123/SimpleSmtp_SSL_QT5 giving errors

I've downloaded a project from github with the intension of learning SMTP and SSL. However, once i try to run his project, i receive the following errors:
"qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method"
"qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
"
"qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init"
"qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error"
error "QAbstractSocket::SocketError(21)"
"qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
"
"error QAbstractSocket::SocketError(20)"
The "AbstractSocket" Errors are:
SocketError(20): The SSL library being used reported an internal error. This is probably the result of a bad installation or misconfiguration of the library
SocketError(21): Invalid data (certificate, key, cypher, etc.) was provided and its use resulted in an error in the SSL library.
I know that for the project to work you need OpenSSL. But i think in Qt 5.7 it is a default library or something like it.
This is the page of the project.
Is there something I am missing? Do I need to install OpenSSL?
EDIT: I installed OpenSSL from This website. Its a pre-compiled version. Also, I moved the DLL's found in C:\OpenSSL - Win64 to my build folder

Qt QWebView loading error linking some SSL libraries?

So i'm creating a mini browser with Qt and using QWebView. It loads some pages okay, but some of them have problems with SSL because i'm getting this errors:
QSslSocket: cannot call unresolved function SSLv23_client_method
QSslSocket: cannot call unresolved function SSL_CTX_new
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function ERR_get_error
I had previous issues with libraries and QTPlugins, and I haven't had any success in liking static plugins (more specifically image formats). I have no ideea how to solve these issues, as i am fairly new to QT framework.
This problem appears to be present only on Linux platforms, these plugins are not included somehow when you install QtCreator.
I have found no solution or documentation on this whatsoever.
However the problem does not appear on Windows, and QWebView works just fine for all functionalities.

Resources