Create Font object in QML function
Solved
QML and Qt Quick
-
Yes, it's possible.
font
is a QML basic type, see font QML Basic Type. But you don't usenew
to create an instance, but the factory functionQt.font()
, see font method. -
Yes, it's possible.
font
is a QML basic type, see font QML Basic Type. But you don't usenew
to create an instance, but the factory functionQt.font()
, see font method.