[Qt-interest] Detecting size of datatype with qmake
Thiago Macieira
thiago at kde.org
Sun May 16 10:31:47 CEST 2010
Em Domingo 16. Maio 2010, às 10.02.28, Esben Mose Hansen escreveu:
> 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.
They are also not available to C++98 and its minor update C++03. You'll have
problems with stdint.h in many compilers.
Don't use it.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100516/fba82fff/attachment.bin
More information about the Qt-interest-old
mailing list