[Qt-interest] Runtime Error :- connect: No such slot ...

Wm. G. Urquhart wgu at wurquhart.co.uk
Fri Feb 19 09:37:28 CET 2010


KC Jones wrote:
> For muti threaded apps, all connections are queued by default.
> And for queued connections you need to be sure that all your types are 
> registered.
> 
> So I *think* you need to register the size_t type with:
> qRegisterMetaType("size_t");

Hi KC,

It would appear that you may be correct here, so I did the obvious and 
changed the types to 'int' which are already used in the application but 
I still get a connect(...) failure at runtime!

I now have an even larger ! above my head.

-- 
William







More information about the Qt-interest-old mailing list