#描述
平台:aarch64
系统:ubuntu16.04.02
Qt Version:4.8.7
Qt程序可以正常运行,界面渲染出现问题以及乱码,控制提示错误内容:
“unable to attach to shared memory segment.”
“X Error:BadDrawable (individ Pixmap or Window parameter 9)”
#解决
export QT_X11_NO_MITSHM=1
参考:
https://bbs.archlinux.org/viewtopic.php?id=187234
https://stackoverflow.com/questions/12829402/qt-errors-after-static-compilation
https://en.wikipedia.org/wiki/MIT-SHM