首页 > 其他 > 详细

Qt静态编译时使用OpenSSL有三种方式(不使用,动态使用,静态使用,默认是动态使用)

时间:2017-02-02 19:13:56      阅读:398      评论:0      收藏:0      [点我收藏+]

When compiling Qt you can choose one of these options based on the configure command line:

no OpenSSL support (-no-openssl)
QtNetwork dynamically opening OpenSSL libs (-openssl; default)
QtNetwork linking to OpenSSL (-openssl-linked)
The last one means dynamic linking (if Qt is built as a shared library), or static linking (when doing a static build of Qt, i.e. -static).

So the ""solution"" to your problem is passing -static -openssl-linked to Qt‘s configure.

 

http://stackoverflow.com/questions/14566212/about-compiling-openssl-inside-qt-application

Qt静态编译时使用OpenSSL有三种方式(不使用,动态使用,静态使用,默认是动态使用)

原文:http://www.cnblogs.com/findumars/p/6361468.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!