> But the program doe not close when i press the close button , not even when > i press Ctrl-C > > Any hint to track that down? Hello Sajjad, if you have subclassed the main window, reimplement the closeEvent and set a break point there. Regards Farid