How to Include OpenSSL in a Qt project

前端 未结 5 1076
旧时难觅i
旧时难觅i 2020-11-27 17:00

I\'m new to Qt, I\'ve done some Googleing and can\'t find a detailed enough answer.

I need to use OpenSSL in my qmake-based Qt project. How do I go about downloading

5条回答
  •  醉酒成梦
    2020-11-27 17:42

    From George at Unable to use AES files of OpenSSL in Qt Creator:

    If this is on Linux, add the following into your .pro file:

    PKGCONFIG += openssl 
    

    It will handle all necessary header paths, compile-linker options and the libraries.

    And make sure you have the openssl-devel package installed in your system.

提交回复
热议问题