in hello example the problem is in the main function when QApplication is called.