Hi everybody!

I jus started reading today a QT programming book called "Prentice.Hall.Advanced.Qt.Programming" but i can't compile any program . I read a book before and i compile all programs by doing the following:

qmake -project
qmake -file.pro
make
Here is an example from the book:
Link

If it's not ask for too much, i would like that someone try to compile this and tell me how it was done.
Thanks you