Unsolved Compiling issue on global property
-
When compiling the project, I met this issue:
error: Could not determine type for global name window_main
window_main is a global property I defined in main.qml.
In Qt creator, there is no warning messages. I have no idea about this.
What can I do? -
Hi and welcome to devnet,
What version of Qt are you using ?
On what OS ?You should show the code you use so it can also be reproduced by other people here.
-
Hello SGaist:
The version I'm using is 5.13.1 on Windows 10.
while attempting to implement a Qt Quick Ultralite application, the issue come up.
the Code is just like this:
in main.qmlItem {
id: main_window
SomeView {
}
}SomeView.qml
Rectangle {
main_window.
} -
@jackie-zhang said in Compiling issue on global property:
SomeView.qml
Rectangle {
main_window.
}mmh, what is
main_window.
supposed to be?