这里使用的qt 源码 是 qt-everywhere-src-5.12.9
Ubuntu版本Ubuntu 22.04.2 LTS在configure 时报错error: ‘numeric_limits’ is not a member of ‘std’
一种方法使用Ubuntu 16.04就可以配置通过(不知道为啥,可能默认支持的库不一样吧)
一种我使用的方法,在报错的.h和.cpp 的文件加上 #include <limits> 头文件(configure会有提示错误,看看哪个文件出现numeric_limits这个报错,就给他添加上这个头文件)