一、先靜態編譯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編譯出靜態可執行文件操作過程