Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, June 2007
Qt 4.2.3 on solaris 2.8 very slow


Message 1 in thread

Hello,

my program is reacting very slow if I run it on solaris 2.8 (Ultra 60).
Resizing of the window, expanding of a QTreeWidgetItem etc. need some
seconds to take effect. Some of the pixmaps are not shown correctly (some
kind of black-white instead of colour pixmaps). qtdemo is also almost
unusable - all that funny effects for showing sub-menus are very slow.
I'm not very familiar with solaris. So, where to start? Is it xrender
support in Qt that causes problems on this old hardware/software? Would it
help to recompile Qt without xrender-support?

The software was compiled with cc from SunStudio11. It works without
problems on linux and windows. Opera 9.x, that is statically linked against
Qt4.x (I'm not sure, but I think it's 4.x), don't show any problems on that
system.

Any hints are very appreciated.

Alexander Semke.

--
 [ signature omitted ] 

Message 2 in thread

On Tuesday 19 June 2007 14:23:19 Alexander Semke wrote:
> Hello,
>
> my program is reacting very slow if I run it on solaris 2.8 (Ultra 60).
> Resizing of the window, expanding of a QTreeWidgetItem etc. need some
> seconds to take effect. Some of the pixmaps are not shown correctly (some
> kind of black-white instead of colour pixmaps). qtdemo is also almost
> unusable - all that funny effects for showing sub-menus are very slow.
> I'm not very familiar with solaris. So, where to start? Is it xrender
> support in Qt that causes problems on this old hardware/software? Would it
> help to recompile Qt without xrender-support?

You don't have to recompile without Xrender support, you try running your app 
with the QT_X11_NO_XRENDER environment variable set to 1:

    $ QT_X11_NO_XRENDER=1 ./myapp

-- 
 [ signature omitted ] 

Message 3 in thread

Bradley T Hughes wrote:
> You don't have to recompile without Xrender support, you try running your
> app with the QT_X11_NO_XRENDER environment variable set to 1:
I thought it's not possible anymore to change this behavior for Qt4.x at the
runtime anymore like for the QT_XFT. I'll try out this option. Thank you.

Alexander Semke.

--
 [ signature omitted ]