Add this modification to suit ubuntu qt