fix build with Qt 4.6