Make it build with Qt 5.