Changing qDebug to qCritical since these are all errors