How to build Qt 5.3.2 with OpenSSL Linked support on Windows 8.1?



  • Hello guys,

    I am trying to build Qt 5.3.2 with OpenSSL Linked Support on Windows 8.1 , but I am not geting this. I am following this steps:

    I have installed Win64 OpenSSL v1.0.1j binary package from:

    "http://slproweb.com/products/Win32OpenSSL.html":http://slproweb.com/products/Win32OpenSSL.html

    And I configure Qt this way:

    @configure -static -debug-and-release -no-o
    pengl -platform win32-g++ -openssl-linked OPENSSL_LIBS="-I C:/OpenSSL-Win64 -L C:/OpenSSL-Win64/lib -lssleay32 -llibeay32"@

    But I am getting this following error:

    @In file included from ....\include\QtNetwork\5.3.2\QtNetwork/private/qsslcontex
    t_p.h:1:0,
    from access\qhttpnetworkconnection_p.h:76,
    from access\qhttpnetworkreply.cpp:43:
    ....\include\QtNetwork\5.3.2\QtNetwork/private/../../../../../src/network/ssl/q
    sslcontext_p.h:50:25: fatal error: openssl/ssl.h: No such file or directory
    #include <openssl/ssl.h>@

    Anybody Can help me?

    Thanks in advance.



  • Have same issue :(


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Try with:

    ./configure -openssl-linked -I C:/OpenSSL-Win64/include -L C:/OpenSSL-Win64/lib


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.