[Qt4-preview-feedback] setUnifiedTitleAndToolBarOnMac so slow

Trenton Schulz trenton.schulz at nokia.com
Tue Feb 10 16:16:13 CET 2009


On 2009-02-10 13:51:10 +0100, Philippe <philwave at gmail.com> said:

>> It still would be good to see an application that shows what is going
>> on if only to see if this is a general problem in Qt.
> 
> Just use Assistant. Try resizing the window with the grip. It's damned
> slow here on a last generation MacPro. The only reason I can imagin is
> the presence of "setUnifiedTitleAndToolBarOnMac".

I ran assistant in Shark (the profiler included with Xcode) and the 
slowness is not in anything tied to the unified title and toolbar. It's 
more to do with laying out the web page. On large pages (like 
qwidget.html) this becomes  slow.

Speeding up these large layouts is something we need to look at and 
solve, but it does show that it has nothing to do with the 
setUnifiedTitleAndToolBarOnMac value. I ran assistant with it both on 
and off and experienced the same result.

-- Trenton




More information about the Qt4-feedback mailing list