Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Add to Qt Project specified OpenSSL and do not use default. How?



  • Hello all?

    I need to define specified OpenSSL libraray from my own sources and do not use the default (like described in this manual). Is there way to configure it in *.pro file without rebuilding Qt itself like it described in manual.

    The rows in profile like this, now ignoring on device:

    LIBS += -L$$PWD/../Libs/OpenSSL/ -lssl
    PRE_TARGETDEPS += $$PWD/../Libs/OpenSSL/libssl.a
    

    It's using from system


  • Lifetime Qt Champion

    Hi,

    If you want to link your own version of OpenSSL, then no, you don't have a choice.

    By default Qt dynamically loads the library so you might want to take advantage of that.

    What OS are you on ?


Log in to reply