I want to declare a global variable for flag in QML.
Like,
var Flag = true;
I need it so that I can use the Flag at multiple places in QML file.
Is it possible without JavaScript or C++?
If yes, please reply and if not then please help me with coding for a JavaScript or C++ script.
Thank you!