QT添加openssl的方法
来源:互联网 发布:mac 办公软件 免费 编辑:程序博客网 时间:2024/06/05 11:35
Assuming Windows you can download its installation from Win32 OpenSSL Installation Project page. You need to download this one for 64-bit windows developing or this one for 32-bit. Just run the stup and every thing will be done easily. The default installation directory is : C:\OpenSSL-Win32
In Qt creator if want to link a library to your project you can just add this line to your .pro file(project file ) :
LIBS += -L/path/to -llibname
So here's what we do for this library( for example to link ubsec.lib )
LIBS += -LC:/OpenSSL-Win32/lib -lubsec
Pay attention to -L and -l.See this question. You don't even need to specify .lib at the end of the library name.
For including .h files add this line to your .pro file :
INCLUDEPATH += C:/OpenSSL-Win32/include
after that you can include a file like this :
#include <openssl/aes.h>
转自:http://stackoverflow.com/questions/14681012/how-to-include-openssl-in-qt-creator
PS:外国社区的人答题就是认真仔细啊!值得学习!
- QT添加openssl的方法
- QT 对话框添加背景图片的方法
- Qt中添加背景图片的方法(转)
- Qt中添加背景图片的方法
- Qt中添加背景图片的方法(改)
- Qt中添加背景图片的方法
- Qt中添加背景图片的方法(转)
- Qt中添加背景图片的方法(转)
- Qt中添加背景图片的方法
- Qt中添加背景图片的方法
- Qt中添加背景图片的方法
- Qt中添加背景图片的方法
- Qt中添加背景图片的方法
- Qt添加右键菜单的方法
- QT笔记-Qt中添加背景图片的方法
- QT笔记(3)-Qt中添加背景图片的方法
- php开启openssl的方法,openssl安装
- php开启openssl的方法
- iscsi使用命令行
- 第五届在线编程大赛月赛第一题:完全平方数的个数
- 算法竞赛入门经典 第六章层次遍历
- 阿拉伯数字 转换为 汉字数字 算法实现
- 带你读懂8259A中断控制器
- QT添加openssl的方法
- poj 1852
- 1029: [JSOI2007]建筑抢修
- ASPxButton实现客户端验证
- 人类科技的发展为什么会是加速度的(TRIZ方法再推荐)
- poj 3050
- 肖清和博士论文后记
- 排序算法之计数排序
- _tfopen_s UNICODE 解决乱码问题