Qt.fontFamilies() and QQmlEngine::setContextForObject(): Object already has a QQmlContext
-
Greetings to all
I have a working qml with:
"
ListView {
id: lv
anchors.fill: parent
...
model: Qt.fontFamilies()
...
"
in the Qt Creator debugging mode, the QML Debugger console window displays "QQmlEngine::set the context for the object(): The object already has a QQmlContext \Users\qt\work\qt\qtdeclarative\src\qml\qml\qqmlengine.cpp : 1307". It looks likeе the line "model: Qt.fontFamilies()" is to blame.
Why ?