[Qt-interest] Detecting size of datatype with qmake

Esben Mose Hansen kde at mosehansen.dk
Sun May 16 10:02:28 CEST 2010


On Sunday 16 May 2010 09:36:49 Robert Hairgrove wrote:
> Qt has those types built in, i.e.: qint16, qint32 and qint64 along with 
> their unsigned varieties (and many more). Look in the Qt docs and search 
> for one of these types which are defined in QGlobal.h.


For that matter, C99 has 

http://en.wikipedia.org/wiki/Stdint.h

which provides much the same. Technically, these might not be available for a 
C++93-compiler, but I doubt you'll find any.


-- 
Kind regards, Esben



More information about the Qt-interest-old mailing list