Important: Please read the Qt Code of Conduct -

Building QT5/QT Creator from source, need to link newer OpenSSL

  • Hello,

    I am trying to build a QT application that incorporates C++ API from QGIS. This application requires use of OpenSSL-1.1.1; however my operating system only supports up to 1.1.0 (Fedora 28) so I need to compile from source as the QT Maintenance wizard will find the outdated version instead. I have installed OpenSSL-1.1.1 in my /usr/local directory but can't override the old version to risk corrupting links for needed system packages. How do I go about linking this? I have added the libraries and header files to my PATH and LD_LIBRARY_PATH variables as well as the .pro file once everything was installed. However, it still doesn't use OpenSSL1.1.1, any suggestions? If needed I can link any terminal commands, config logs, etc if it will help.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    How did you configure Qt for OpenSSL ? Linked ? Dynamically loaded ?
    Which version of Qt are you using ?

Log in to reply