[Qt-interest] Fwd: Fwd: Fwd: qmake and staticlib issue

Thiago Macieira thiago.macieira at trolltech.com
Tue Apr 21 18:45:25 CEST 2009


Em Terça-feira 21 Abril 2009, às 15:49:30, ami guru escreveu:
> If i forward declare a class then i only use the reference or pointer for
> that class and we do not instantiate any object of that class.
>
> That what  the theory says and i have used that accordingly.

The compiler disagrees with you. It is pointing out that the construct at that 
specific line actually requires the full definition of the class.

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Software
     Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090421/c14c50d1/attachment.bin 


More information about the Qt-interest-old mailing list