I don't really understand how QT has achieved cross platform functionality. My guess is that they've had to re-write the underlying code for each new platform. Is that correct? Or am I missing a big piece of the picture?