1.首先在window下安装boost库
安装教程参考 https://www.cnblogs.com/chendeqiang/p/12861514.html
2.在qt的pro文件中添加
INCLUDEPATH += C:\boost_1_70_0
LIBS += -LC:\boost_1_70_0\stage\lib
则可以使用boost中的任意功能
参考链接:
https://www.cnblogs.com/chendeqiang/p/12861514.html
原文:https://www.cnblogs.com/chendeqiang/p/12996321.html