[Qt-interest] Configure QtDesigner ui.h

Thiago Macieira thiago at kde.org
Fri Sep 2 21:24:18 CEST 2011


On Friday, 2 de September de 2011 19:39:52 Danny Price wrote:
> > QScopedPointer
> >
> > 
> 
> I didn't mention the Qt pointers because they seem to have issues with
> forward-declared classes. MSVC doesn't complain but GCC warns that virtual
> destructors will NOT be called. I don't trust them.

Only if you delete them where the class is still forward-declared.

The warning is right. And it means you probably have a trivial assignment 
operator. You need to prevent its instantiation so the compiler won't 
complain.

-- 
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/20110902/48bb8693/attachment.bin 


More information about the Qt-interest-old mailing list