trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: November 2011

Re: [trinity-devel] Workaround for bad Qt4 performance

From: "Timothy Pearson" <kb9vqf@...>
Date: Tue, 15 Nov 2011 13:29:26 -0600
> 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 nokia.com [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].
>
> [1] http://labs.qt.nokia.com/2008/10/22/so-long-and-thanks-for-the-blit/
> [2] http://doc.qt.nokia.com/4.7/qapplication.html#setGraphicsSystem
>
> Thanks and much regards,
> Sanne
>

Hi Sanne,

Thank you for the tip!  I may look into setting the variable by default on
X11 TDE sessions to aid in improving Qt4 application performance.

Tim