Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QtQuick FontMetrics, Qt-5.4
vivelu last edited by
Documentation states, that Qt-5.4 has Fontmetrics to use in qml:
I checked out 5.4 from gitorious using git. Compiled it and there indeed is qquickfontmetrics.cpp source file: src/quick/util/qquickfontmetrics.cpp
My problem is, that in qml side, it is not recognised. I beleave QQuickFontMetrics should be stated in qml/QtQuick.2/plugins.qmltypes (install directory) the same way as eg. QQuickFontLoader is.
- Is this a bug?
- Is FontMetrics going to be used somehow different?
- Is FontMetrics just not usable atm?
This question would be more suited for the interest mailings list. You'll find there Qt's developers/maintainers. This forum is more user oriented