fix for Qt Creator