Facing issue while building QT with OpenSsl

  • Hello Guys,

    Please help me in this->

    **ERROR: Feature 'openssl-linked' was enabled, but the pre-condition '!features.securetransport && libs.openssl' failed.

    ERROR: Feature 'openssl' was enabled, but the pre-condition '!features.securetransport && (features.openssl-linked || libs.openssl_headers)' failed.**

    Here my commands->
    ./configure -xplatform macx-ios-clang -debug-and-release -static -openssl-linked -I /usr/local/iOS/openssl/include -L /usr/local/iOS/openssl

    I am trying to build Qt with OpenSsl in Mac, but facing some error.
    There are some questions with the same type of issue which had already been asked. But for me not working.

    Thanks in Advance

  • Moderators

    Which Qt version are you compiling? Which OpenSSL version are you linking? Is the OpenSSL cross-compiled to iOS already?

  • Lifetime Qt Champion


    Out of curiosity, why do you need to build against OpenSSL ?

    Since a few version, Qt's using the Secure Transport backend from Apple for the SSL related functionalities of Qt.

Log in to reply

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