Create Font object in QML function
-
Yes, it's possible.
fontis a QML basic type, see font QML Basic Type. But you don't usenewto create an instance, but the factory functionQt.font(), see font method. -
Yes, it's possible.
fontis a QML basic type, see font QML Basic Type. But you don't usenewto create an instance, but the factory functionQt.font(), see font method.