Message: previous - next
Month: November 2011

Workaround for bad Qt4 performance

From: Sanne <sanne@...>
Date: Tue, 15 Nov 2011 20:13:58 +0100
Hi all,

I was listening in on the last irc meeting and caught an aftermeeting 
mentioning about bad Qt4 performance. I offered an article and a possible 
workaround I found recently, in case people are not aware of it, and was 
asked to bring it to attention to other developers also, so here goes:

I'm suffering bad graphical performance in Qt4 and PyQt4 applications and 
searched for solutions. I found a post on [1] that mentions a 
command line switch that might help.

In short: adding "-graphicssystem raster" to my Qt4 applications' command line 
improved performance drastically for me. There's also a method to set it 
programmatically, and an environment variable [2].


Thanks and much regards,