Hi.
I was wondering how can I use global variables in my Qt program? Where should I create the global Qt objects, in the main.cpp file (that is a very short file), or where?

The other option is to create a global object and store a pointer to that object in everyother object that I then create (and that might be A LOT).

Any suggestions?