https://dev.t-firefly.com/thread-793-4-1.html
将 static const int layouts[2][5][14] = 修改成 static const unsigned int layouts[2][5][14] =
再将调用的地方也进行修改为:
const unsigned int *currentLayout = layouts[orientation == Qt::Vertical][tmpPolicy];
linux下编译qt4错误及解决办法_linux 编译qt4-CSDN博客
关于qmake.conf的补充。linux-g++、linux-g++32都修改就有效果了。