Qt World Summit: Register Today!

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:


    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
    from access\qhttpnetworkconnection_p.h:76,
    from access\qhttpnetworkreply.cpp:43:
    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