Is there a way to reduce the amount of X11 traffic produced by Qt Creator?

会有一股神秘感。 提交于 2019-12-05 09:26:30

Try to launch QtCreator with -graphicssystem native parameter.

Three graphics backends are supported in Qt4(.5+) (native, raster and opengl). Native appears to be adapted for SSH X-forward use whereas others appears better for local use.

It worked for me with QtCreator version 2.5.0 when I was working on Qt4, but it does not work after my fresh update to QtCreator 3.1.2 since Qt5 appears to have deleted this parameter.

I do not know if this parameter is supported in QtCreator 3.0.0 but since you use Qt4 you can always downgrade your QtCreator version to the latest one which supports this parameter. If you want to automatically change graphicssystem depending on remote/local use, you may want to try setting QT_GRAPHICSSYSTEM=native envvar conditionally in your bashrc or so.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!