The same question was asked 2 years ago: http://www.qtcentre.org/forum/f-qt-p...boxh-6143.html

The tutorial you are following is for Qt3, and your using Qt4. Maybe the tutorial should be updated or removed, as you suggested.