[Qt-creator] .prf handling, application palette, and performance concerns

Adam Higerd ahigerd at timeips.com
Mon Nov 3 20:38:56 CET 2008


If this were a task tracker I'd be reporting this as three separate 
issues, but as this is just a mailing list I'll drop everything in at once.

I've been using Qt Creator for a few days now and I must say I'm quite 
impressed. The .pro handling is excellent except for a couple of quirks 
that I'm fairly sure are just bugs. The only shortcoming I've 
encountered in this regard is that it doesn't follow the CONFIG variable 
to read in imported .prf files, which means that it misses out on the 
include paths for the library I'm using. It's not the end of the world 
-- it just makes the editor highlight my #include lines as errors, even 
though the compiler doesn't complain at all -- but it would be nice if 
the .pro handler's behavior matched qmake's behavior.

My second comment is regarding the black frame. I know this is a fairly 
cosmetic issue and it doesn't really disrupt my workflow, but since it's 
using completely custom painting code it ignores my style settings. The 
hidden color change function doesn't help because you can't control the 
text color. I suggest using QPalette::Mid for the darker color and 
QPalette::Midlight for the lighter color of the gradient, and then use 
QPalette::ButtonText for the text, or use QPalette::Light for the text 
and QPalette::Dark or QPalette::Shadow for the text shadow. Maybe make 
it configurable if you want the default to be what the preview version 
is using.

My last comment is that the editor's performance has some problems. On 
my work system, an Athlon X2 4600+, I don't have any problems at all, 
but at home I have a Duron 1.3GHz and it drops 15-25% of my keystrokes. 
(Given that behavior, I don't even want to TRY Creator on my 500MHz 
system even though I would really like to.) I suspect the performance 
hit may be coming from the code completion but there's currently no way 
to disable it to find out. (I also know some users who would like to 
disable code completion anyway.)

Other than that... Great job, guys!

/s/ Adam Higerd



More information about the Qt-creator-old mailing list