I have 2 files: file1.qml and file2.qml in same level folder.
file1:
file2:Code:import QtQuick 1.0 Rectangle{ id: f1 property int a: f2.a }
When running, it notes me "Can't find variable: f2". I've also tried "file2.a" in file1.qmlCode:import QtQuick 1.0 Rectangle{ id: f2 property int a: 1 }
Question is: How to get the property value in f2 from f1?




