My mistake. The follow problem was detected:
undifined reference to 'simples::simples(QWidget*)'

It's not a problem about compilation I think. I'm using the Qt Creator to do everything, like designer the ui files and compile the program. Is there any problem to do it?