Whatever we declared a global variable in Javascript under browser, it will be added to the “window” object automatically. Then we could check did a global variable/object declared by looking at the window object.
However, it don’t have “window” object in Qt Quick. Do it have any replacement? So that I can check did a global variable declared?
Thanks.
↧