[Qt-interest] compile error when change from ubuntu/debian to centos

Thiago Macieira thiago at kde.org
Wed Jun 9 20:14:31 CEST 2010


Em Quarta-feira 9. Junho 2010, às 19.09.32, Iwan Budi Kusnanto escreveu:
> g++ -c -pipe -O2 -Wall -W -D_REENTRANT  -DQT_NO_DEBUG -DQT_SQL_LIB
> -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED

> /usr/lib/qt4/include/QtCore/qatomic_i386.h:58: error: cast from
> ‘void*’ to ‘int’ loses precision

That's a 64-bit compiler being used on a 32-bit built Qt.

It won't work.
-- 
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/20100609/5e6f6ade/attachment.bin 


More information about the Qt-interest-old mailing list