没有运行过下载好的boost文件夹里的b2.exe(或者是bjam.exe)的,可以看一下这篇文章,https://blog.csdn.net/weixin_49601095/article/details/118089178?spm=1001.2014.3001.5501。
因为我们想在Qt creator里添加boost,所以不用在visual studio里设置。
在.pro文件中添加两行代码:
CONFIG( debug, debug|release ) {
# debug
LIBS += E:/boost_1_76_0/boost_1_7