Eventually, this is the way I did it

Qt Code:
  1. QByteArray textline;
  2. const char *text;
  3. textline = strong.toAscii();
  4. text = textline.constData();
  5. res = sscanf(text, "%lf %lf %lf", &x, &y, &z);
To copy to clipboard, switch view to plain text mode 

I'm just surprised it requires 3 to 5 lines in Qt instead of 1 in MFC for something which should be a very common operation.

Thanks for the hint anyway. I wasn't aware of the method toFloat(). No use here, though, there are three double values to read.

Cheers