Changing OpenSSL include path for qmake

☆樱花仙子☆ 提交于 2019-11-28 14:26:10

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!