aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/unclearComponentBoundaries.qml
blob: 5d7dbe59084ed1cb8771b3885da0c0683cc02c79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import QtQuick
import QtQuick.Controls

// ApplicationWindow can't be resolved because it's in QtQuick.Controls ...
ApplicationWindow {
    // ... therefore we don't know whether "header" is a Component.
    // ... which means we cannot tell whether item1 is inside that "Component" or outside of it.
    header: Item { property Item item1: item1 }
    Item {
        objectName: "outer"
        id: item1
    }

    objectName: header.item1.objectName
}