Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2
-
0984eb6ab0db4cebdf95f17b4f81fff6a810703f (qt/qtdeclarative/dev)
Description
For code bellow git dev (cf00dd59d16005d0511c43b3b7ca15e43612b9f6) qmllint reports no warnings. But activeFocus is readonly property, so any form of assign to it is mistake.
import QtQuick 2.15 Item { id: foo activeFocus: true Component.onCompleted: { foo.activeFocus = true; } }