why global? why not make it a member?
And yes, use 'new' to allocate on the heap, and don't forget to use 'delete' when you don't need the object anymore (or just give it Qt object parent).