i'm nearly running around the house doing a little dance as the first tech preview for qt 4.2 is released!
recommended reading includes the qt 4.2 introductory information, which reveals we'll have lots of new qt functionality to consider in trysil next week, and lar's blog which notes a few other cool things like the ongoing optimizations and new CSS parser and support for CSS in QWidgets. there's even the dbus bindings, which we are already using in kde, in there! wow.
for me this marks a very important step, however, as it means both graphicsview and svg support is now publicly available to play with. these have been two blockers in plasma's path.
the other major blocker has been kde4 libs really not being in a state i feel comfortable writing new application code against. hopefully many, most or even all of that issue will resolve itself with the kde four core libs meeting in trysil next week.
speaking of which, i'd better start packing my bags as i have to be at the airport in around 7 hours.
Friday, June 30, 2006
Subscribe to:
Post Comments (Atom)

5 comments:
Qt 4.2 will indeed rocks. I'm eager to see it in qt-copy to play with it :)
Hey Aaron,
Qt 4.2 looks sweet indeed; Graphics View in particular should make any developer drool!
Btw, I also think it's very cool they've put an effort in developing the Cleanlooks widget style. It's a nice friendly gesture towards the guys at "the other side"...
Incidentally, which widget style will be default in KDE4? Whichever it might be, you could draw some inspiration from Cleanlooks: it has a certain zen-like quality which is very pleasant to the eye. I have been using KDE since the good old days of 1.0 betas, but I have to admit that these days Gnome does look (only looks, the KDE technology is miles ahead!) a bit better than KDE. Hopefully KDE4 will change that...
I really hope they finally fix the performance issues with QTextEdit in 4.2.
I've been waiting since 4.0 and have been let down all the way to 4.1.3. They made it a touch faster but for even just adding plain text it is still very slow.
Try their syntax highlight example and throw in about 500 lines of text. Now, maximize the example and begin typing. Notice how slow the typing is and how it eats up 100% CPU. Eeeeecks!!!!!
Until this is fixed I can't really recommend porting text editors from Qt 3.x to 4.x yet.
I'm hopeful they will have it fixed this version.
I'll give this preview a try and see if the performance is any better.
Check the latest Qt 4.2 snapshots, the syntax highlighter should be a lot faster.
Simon
The issue with QTextEdit being slow doesn't have to do specifically with the highlighter.
Create a very bare bones simple QTextEdit, run it, maximize it, and add about 5 pages of text, ~75 lines of text.
Begin typing in the middle of it and you'll see a definite percieved slowness you don't see in other editors. Add another 75 lines of text and you should be able to type fast enough to where it can barely keep up with your typing and during typing your CPU will be pegged at 100%.
And I've done this on a 2 Ghz machine with 2 Megs Ram. :(
So I gave this a shot in 4.2 TP1 and the performance is still horrible with QTextEdit.
*Sigh* Maybe when the full 4.2 comes out it'll be fixed.
For now though, text editors created with QTextEdit are slow.
Post a Comment