Solved SSL cannot be requested after release
-
Why can a program request SSL during development, but not after release, and output QSslSocket::supportsSsl(), which is false
-
Most likely your release build does not link to OpenSSL.
-
hi @sierdzio
Does using windeployqt to release not automatically associate openssl? -
@duncan98 said in SSL cannot be requested after release:
hi @sierdzio
Does using windeployqt to release not automatically associate openssl?I don't know but I doubt it. External dependencies are usually not included by deployment tools.
-
@duncan98 please show your .pro file
-
hi @Pablo-J-Rogina
The contents are as follows::CONFIG += c++11 QT += core gui sql charts network printsupport greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TARGET = myapp TEMPLATE = app SOURCES += main.cpp\ ....... HEADERS += \ ....... FORMS += \ ....... DISTFILES += \ ...... RESOURCES += \ ......
-
@duncan98 said in SSL cannot be requested after release:
Why can a program request SSL during development, but not after release, and output QSslSocket::supportsSsl(), which is false
Deploy the OpenSSL DLLs with your application (the current version is
libcrypto-1_1.dll
andlibssl-1_1.dll
).Make sure you are aware of the legislation of your country and the countries of your users. See, e.g.