Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.1
-
4cbc25f37 (dev), 8f68df62b (6.5)
Description
Compiling the example from the documentation
import QtQuick import QtQuick.Controls.Material Window { id: win width: 640 height: 480 visible: true title: "Sandbox" Button { onClicked: popup.open() Popup { id: popup parent: Overlay.overlay x: Math.round((parent.width - width) / 2) y: Math.round((parent.height - height) / 2) width: 100 height: 100 } } }
generates these messages
Warning: main.qml:17:17: Unqualified access parent: Overlay.overlay ^^^^^^^ Error: main.qml:17:17: Could not compile binding for parent: Cannot access value for name Overlay parent: Overlay.overlay ^^^^^^^
.
Attachments
Issue Links
- duplicates
-
QTBUG-104768 Overlay is not available when hardcoding the style
- Closed