更新时间:2022-06-22 02:48:04
Qt5和Qt4具有不同的渲染子系统
Qt5 and Qt4 has a different rendering subsystems
Qt4渲染器只需要一个提示:
Qt4 renderer just needs a hint:
export QT_GRAPHICSSYSTEM="native"
必须工作
QT_GRAPHICSSYSTEM="native" docker run -it -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix someQt4AppContainer