Run qmake and then build your program again. Btw. your class is called "simples" and you are calling the constructor as "simple".