[Qt-interest] Runtime Error :- connect: No such slot (Update)

Thiago Macieira thiago at kde.org
Sat Feb 20 10:37:36 CET 2010


Em Sábado 20. Fevereiro 2010, às 09.41.21, Wm. G. Urquhart escreveu:
> Well this get weirder and weirder. In my code I have an existing slot
> declared as:

> If I could be any more confused I would be, does anyone have any
> suggestions here?
> 
> I know what I am trying to do works as my test application verifies
> this, but there must be something subtle that is 'poisoning' my real
> application.

Take your application and remove the parts of it that aren't the problem. Keep 
doing that until the problem goes away, or until you reach a small, compilable 
example that shows the problem.

PS: check that you didn't forget Q_OBJECT

-- 
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/20100220/54610a58/attachment.bin 


More information about the Qt-interest-old mailing list