fix for linux
Fix for Qt and linux