make the project compile with Qt 4.8.6 version