PDA

View Full Version : qint32 vs int32_t



maverick_pol
10th February 2009, 16:53
Hi guys,

I have a question:
Can I use the types: qint32(Qt of course) and int32_t(<stdint.h>) with the same result?
I need fix width variables to have the same size of 32/64 OSs, can I use one instead of another one, etc?
I am working on raster charts' reading and have to have fix width 4bytes "long" values for 32 and 64 bit platforms.

Thank you,

Kacper

maverick_pol
10th February 2009, 19:14
This topic helped me a bit and may help those who have the same dilemma:

http://lists.trolltech.com/qt-interest/2006-03/msg01430.html