[Qt-interest] duplicate symbol

Thiago Macieira thiago at kde.org
Fri Oct 1 09:14:52 CEST 2010


On Friday 1. October 2010 09.00.15 Alexander Carôt wrote:
> ld: duplicate symbol myWidget::event(QEvent*) in soundjack.o and main.o
> 
> How can I fix this ?

You declared the same function in both .cpp. Remove from one.

-- 
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/20101001/7e152ac9/attachment.bin 


More information about the Qt-interest-old mailing list