Singleton pattern, Creational Patterns , qApp and Singleton pattern