4 ms·
This is really cool as Qt just looks daunting to start with! Is there a way to make it use native widgets? I noticed the app in the screenshots doesn't look lik
by sprt 8y ago
This is really cool as Qt just looks daunting to start with! Is there a way to make it use native widgets? I noticed the app in the screenshots doesn't look like native Ubuntu.
- mherrmann 8y agoThanks! I think Qt never uses "native" widgets. If at all, it just renders them to look that way.
- deleted 8y ago[deleted]
- mehrdadn 8y agowxWidgets is the only framework I can think of that uses native widgets.
- xfer 8y agoUbuntu is gtk-based, so you need a matching Qt-theme for that to work, it will look native on kubuntu/kde-based distros.
- alxlaz 8y agoThere is no such thing as "native Ubuntu" :-). The default widget style of a modern Ubuntu installation is just a GTK theme (which, I think, supports both GTK 3 and GTK 2 -- the two are incompatible, so themes need to implement support for both). You can configure Qt to use the GTK 2 rendering engine, but GTK 2 and GTK 3 look slightly different for reasons that I am entirely unable to convey without an inflammatory post, so Qt (and GTK 2) applications won't look exactly the same as GTK 3 applications.
- empyrical 8y agoI am not sure how this is going (this blog post is the only info I can find on it) but they have plans to make a new UI library for Qt that is backed by the platform's native widgets, like AppKit on macOS: http://blog.qt.io/blog/2017/02/06/native-look-feel/ http://blog.qt.io/blog/2017/02/06/native-look-feel/