I have written an application using Qt 4.5.2 a few years ago.

Now I wanted to port that code to the latest version of Qt (4.7.4),
and did not think further about the fact that I am now using a 64 bit OS (Mac OS X Lion).

Now I ran into trouble with my serialization routines which all rely on QDataStream.

The problem is that I did not use the qreal, qint32, qint64.... types in my sources,
and just declared int's and float's.

Is it enough to use the QDataStream::setVersion(Qt::Qt_4_5)?
Is Qt aware of serializing an int under 32bit in the same way as under 64bit?

Thanks for your help in advance!
olidem