Hi Thomas,

This problem with 'object' type and queue connections can be a PySide
bug, can you create a small example to show this problem?  I think you
can fix this for now using some Qt native type  if possible in your
queued connection, or try to use direct connections.

About the decorator @QtCore.Slot is used to export your Python
functions to c++ side as Qt Slot, It is normally used with
QtDeclarative,  QtScript and Qt Designer interoperability, With this
decorarator you can have acces to python methods inside of any
framework.

BR


On Sat, Sep 25, 2010 at 6:40 AM, Thomas Sturm <[email protected]> wrote:
> Hi,
>
> I am using PySide for creating a GUI for the open-source computer algebra 
> system Reduce.
>
> I am currently switching from PySide 3 to PySide 4 and adapting the signal 
> handling to the new-style signal/slot scheme. Now I am obtaining errors like 
> the following:
>
> QObject::connect: Cannot queue arguments of type 'object'
> (Make sure 'object' is registered using qRegisterMetaType().)
>
> Here the signal handler expects an argument of type DictType.
>
> Could you please point me at where I can find the function qRegisterMetaType 
> in PySide? I have not really understood the purpose of the @QtCore.Slot 
> decoration. Is this related to that issue?
>
> Thanks,
>
> Thomas
>
> --
> Dr. habil. Thomas Sturm
> Departamento de Matematicas, Estadistica y Computacion
> Universidad de Cantabria, Santander, Spain
> Avda. Los Castros s/n, Room 1072, +34 693 251058
> http://personales.unican.es/sturmt/
>
>
> _______________________________________________
> PySide mailing list
> [email protected]
> http://lists.openbossa.org/listinfo/pyside
>
>



-- 
Renato Araujo Oliveira Filho
Instituto Nokia de Tecnologia - INdT
Mobile: +55 (81) 8704-2144
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to