Make comptabile with Qt 5.2