And what does "qmake -v" output? You should read docs of Qt 4 if that's what you use. Qt 3 and Qt 4 are pretty much different.