Use qDebug and purge iostream