Details
-
Bug
-
Resolution: Won't Do
-
P2: Important
-
None
-
5.10, 5.13, 5.15.13
-
None
Description
import QtQuick 2.9 import QtQuick.Controls 2.3 ApplicationWindow { id: window visible: true Button { id: button focus: true // Works // Component.onCompleted: print(ApplicationWindow.window.activeFocusItem) // ".onActiveFocusItemChanged" is not available due to component versioning. ApplicationWindow.window.onActiveFocusItemChanged: print("activeFocusItem", activeFocusItem) // Works // ApplicationWindow.onActiveFocusControlChanged: print("activeFocusControl", activeFocusControl) } }
Attachments
Issue Links
- relates to
-
QTBUG-40043 Problem with accessing revisioned properties from QML
- Closed