How to Install OpenSSL ToolKit using Qt MaintenanceTool on Windows 10
-
Hi,
This may look similar to https://forum.qt.io/topic/61134/trying-to-link-with-openssl-libraries-in-windows
I tried to install 32-bit OpenSSL by downloading from https://slproweb.com/products/Win32OpenSSL.html
My installation folder is "C:\Qt\Tools\OpenSSL\Win_x86"
copiedlibcrypto-1_1.dll, libssl-1_1.dll
to "C:\Qt\5.11.2\mingw53_32\bin" and "C:\Qt\qtcreator-4.11.0\bin"I have added the following information to common.pri file
win32: INCLUDEPATH += C:/Qt/Tools/OpenSSL/Win_x86/include win32: LIBS += -LC:/Qt/Tools/OpenSSL/Win_x86/bin -llibcrypto-1_1 -llibssl-1_1
But when I build my project it give me error saying that,
error: skipping incompatible C:\Qt\Tools\OpenSSL\Win_x86\bin/libcrypto-1_1.dll when searching for -llibcrypto-1_1 error: cannot find -llibcrypto-1_1 error: skipping incompatible C:\Qt\Tools\OpenSSL\Win_x86\bin/libssl-1_1.dll when searching for -llibssl-1_1 error: cannot find -llibssl-1_1
I rebuild again removing the 'l' prefix, which also gives me the same result (this time I didn't get 'skipping incompatible....')
error: cannot find -llibcrypto-1_1 error: cannot find -llibssl-1_1
I looked into to some of the forums and one of them said they had installed OpenSSL using MaintenanceTool which I am not able to find it.
https://stackoverflow.com/questions/3516143/qt-ssl-support-missing/12648841
https://forum.qt.io/topic/113562/building-openssl-with-qt-5-12-4/3
https://forum.qt.io/topic/113562/building-openssl-with-qt-5-12-4/8I am using 5.11.2 Qt Kit libraries and 4.11.0 Qt Creator.
Please help.
-
@yuva said in How to Install OpenSSL ToolKit using Qt MaintenanceTool on Windows 10:
I am using 5.11.2 Qt
Qt 5.11 depends on OpenSSL 1.0.2. That is incompatible with OpenSSL 1.1.x.
Furthermore, Qt 5.11 and OpenSSL 1.0 have both reached end-of-life. Please upgrade to Qt 5.12.11 at least.
installed OpenSSL using MaintenanceTool which I am not able to find it
When installing your newer version of Qt, select Qt > Developer and Designer Tools > OpenSSL 1.1.x Toolkit
-