That project compiles fine on my system. There must be something wrong with Qt on your system. How did you install Qt?