OK, forgive my ignorance.

What I meant is that sscanf takes a CString as an argument in MFC, but not a QString.
The method str >> x >> y >> z is also new to me, so thanks for the help.

Qt is great now that there is QtCreator... it just takes a little time to get familiar with the syntax.