Hi, On 02/11/2010, at 12:58 AM, ext Ville M. Vainio wrote:
> A QML application still loads up the "old fashioned" QStyle (e.g. > QGtkStyle or QMaemo5Style). > > This appears to be useful in some ways (e.g. when loading up a file > selection dialog or for providing correct font), but otherwise it > seems like bloat. Esp. in the case of QGtkStyle & friends where Gtk > libs have to be mapped for the process. > > I just worked around a bug in meego plain qt style (NB#196944 for > those that can see it) by using the "motif" style in my QML > application. This made the default font too small, and I'm lead to > think that we would do well to have some mechanism for providing style > information without using QStyle. > > What's the story on this? Are there plans to make QStyle unnecessary > for QML apps, and provide a "lighter weight" mechanism for e.g. the > default font? Or is it all in the domain of Qt Components project > alone? As far as I know there aren't any concrete plans regarding this. Note that for changing the default font, QApplication::setFont() should also work (we have discussed in the past a way of making the default font easier to deal with, but with no concrete conclusions that I remember). Regards, Michael _______________________________________________ Qt-qml mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-qml
