replaced printf with qDebug