[Qt-interest] why is glu.h missing from qgl.h in Qt-4.8.0

Thiago Macieira thiago at kde.org
Mon Aug 29 19:28:12 CEST 2011


On Monday, 29 de August de 2011 13.12.52, Yifei Li wrote:
> I noticed that in Qt-4.8.0, glu.h is no longer included by qgl.h.  Why?

Because it wasn't needed by Qt code.

> Could this be a bug?

No.

If you need a symbol from a given header, you must include it. Never depend on 
indirect inclusion.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      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/20110829/523b26da/attachment.bin 


More information about the Qt-interest-old mailing list