Changing OpenSSL include path for qmake

前端 未结 1 482
半阙折子戏
半阙折子戏 2020-12-12 01:42

I want to build Dogecoin with qmake. It doesn\'t work with Fedora\'s OpenSSL because its OpenSSL doesn\'t have elliptic curve cryptography included. So I\'ve got my own Open

相关标签:
1条回答
  • 2020-12-12 02:19

    You will have to change variables defined for OpenSSL library

    OPENSSL_INCLUDE_PATH=/usr/local/ssl/include
    OPENSSL_LIB_PATH=/usr/local/ssl/lib
    

    Unfortunately, you will also have to fix values for Boost, BerkleyDB and miniUPNPc as they link to a location specific for developer's machine. On Unix-like system it's better to use pkg-config to get library dependencies:

    unix {
        CONFIG += link_pkgconfig
        PKGCONFIG += boost 
    }
    

    Also it looks like at least miniupnpc and Berkley DB don't have any pkg-config configuration.

    0 讨论(0)
提交回复
热议问题