Add these lines to your code, then look if it is exactly the same as you tried before (when it worked).

Qt Code:
  1. #include <QDebug>
  2. qDebug() << param.toString().toAscii();
To copy to clipboard, switch view to plain text mode