Qt 3.x, right?
I think it is:
qDebug("%s", result.ascii());
Regards