Fix for Qt and linux