Anyway, I must fix and optimize the application architecture so I will proceed as follow :
* create a new SDI application
* import all my classes (not including my own QApplication and QMainWindow class)
* adding all functions of my old QMainWindow into the new QMainWindow
* same previous step for QApplication

It will not take me so much time.

Thanks for your help Jacek.