一、先静态编译QT5的mingw,需加入openssl【openssl也要用静态的,直接用别人编译好的静态库就好】
参考:
https://blog.csdn.net/hey545521859/article/details/49248121?utm_source=blogxgwz5
https://blog.csdn.net/nxb593427560/article/details/51189490
https://blog.csdn.net/wsj18808050/article/details/50909381
https://www.cnblogs.com/findumars/p/6410768.html
编译好的openssl静态库:
http://www.cnblogs.com/findumars/p/6372223.html
这里给出一个可以直接用的编译好的QT5.8静态mingw:https://blog.csdn.net/wsj18808050/article/details/54730686?utm_source=blogxgwz6
二、使用静态mingw编译出静态可执行文件操作过程