faq
flatforty
contribute
subscribe
configure
search
rdf
main
parent
thread
|
Re: Except that Qt isn't native on the Mac
by Justin Karneges on Thursday 25/Mar/2004, @14:11
|
The main problem is that the Mac has a much more advanced GUI system then you'd find on any other platform, thus making emulation very difficult. I wonder if Trolltech should try a wrapper-based approach to Qt/Mac. This is already done with QMenuBar, and it probably could be done to the rest of the widgets as well. I believe this is how Java on the Mac works as well. wxWidgets definitely works this way.
Of course, this might mean losing very obscure functionality, like painting arbitrarily on a QPushButton, but for 99% of the use cases, the benefits of wrapping the native widgets would outweigh this loss. Maybe Qt could fall back to an emulated widget if someone performs such an obscure operation. If I wasn't so busy I might actually try implementing this, as it sounds like a lot of fun (if a lot of work).
In addition to this, the Mac supports advanced widgets, like the preferences dialog stuff. It would be nice if there were a way to take advantage of these widgets in a Qt/Mac app. Years ago, this kind of widget reuse just wasn't seen, but nowadays with KDE and Mac, there are lots of advanced widgets available, and "plain Qt" apps definitely stick out by not using them. We're entering the next generation of desktops, and being a native app is more than just using primitive widgets these days. Trolltech's got some work ahead. |
|
|