Quote Originally Posted by harvey_slash View Post
but this doesn't work .
Apparently you didn't do it correctly. Qt doesn't change the way one uses global variables in C++ applications.