I'm not even sure a Q_GLOBAL_STATIC is needed. It can be put into a static method, and call when needed. Don't think this would require a global object.