Fix building with QT 4.6