Thanks for the help, I fix the problem by eliminating the c++ clas that called the QDialogs, not it's an application only QDialogs.