Dear Qt gurus,

I'm a newcomer to QT, trying to migrate an application written with MFC/VC++.
I'm stuck trying to read double values from a file ; in VC++ it was something like :

Qt Code:
  1. CString strong;
  2. double x,y;
  3. bool bRead = XFile.ReadString(strong);
  4. int res = sscanf(strong, "%lf%lf", &x,&y);
To copy to clipboard, switch view to plain text mode 

How should it be done with Qt ???

Thanks