Compability with Qt 5.4