[Qt-interest] Static members and QHash

Thiago Macieira thiago at kde.org
Sun May 30 09:34:45 CEST 2010


Em Domingo 30. Maio 2010, às 07.57.08, Tero Mäntyvaara escreveu:
> undefined reference to `ClassA::ClassA(ClassA const&)'
> undefined reference to `ClassA::ClassA(ClassA const&)'

The error seems quite obvious to me.

Your classa.cpp is missing the copy constructor.

-- 
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/20100530/a16f9d58/attachment.bin 


More information about the Qt-interest-old mailing list