Linked by Thom Holwerda on Mon 18th Jan 2010 23:00 UTC, submitted by Michael Oliveira
BeOS & Derivatives And now we're ready to start picking the fruits of Qt being available on Haiku. We reported on the completion of the Qt port to Haiku on January 1, 2010, and now we already have KOffice running on the open source recreation of the BeOS. A modern office suite for Haiku!
Thread beginning with comment 405150
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: Comment by stanbr
by umccullough on Wed 20th Jan 2010 18:00 UTC in reply to "RE: Comment by stanbr"
umccullough
Member since:
2006-01-26

Looks like you haven't used or saw a pure QT app before. QT adapts to its host OS, so when you for example, you run a QT app on Windows Vista, it has the Vista look in its controls, the same when running on Mac and Linux (under KDE).


Does it emulate the look, or actually use the native widgets?

I have seen it common to "fake" the look of cross-platform widgets for the platforms they are running on, but this is still not acceptable IMO. Firefox tries to do this and it's often obnoxious when you run into differences in behavior that you didn't expect as a result.

The Qt port for Haiku currently uses its own widgets, not the ones provided by Haiku.

Reply Parent Score: 2

RE[3]: Comment by stanbr
by boldingd on Wed 20th Jan 2010 21:20 in reply to "RE[2]: Comment by stanbr"
boldingd Member since:
2009-02-19

I believe it emulates the look. I believe that most Qt widgets render themselves to a QCanvas (Qt's abstract canvas) rather than using a native widget to draw themselves. So, a QPushButton won't create a native Be button widget in a native Be window, but rather will render a theme-and-platform-appropriate image of a push-button to a QCanvas, whose contents will eventually get drawn in a window.

Well, normally. I think there's also some facility to provide an alternate rendering engine, that does use native widgets: I think that's what the GTK emulation theme does.

Reply Parent Score: 2