Quote Originally Posted by harvey_slash View Post
so, you mean there is NO way to declare a 'global' variable?
You can declare a global variable just like in any C++ program but the point is it is bad practice and you should use better approaches such as using signals and slots.