PyQt, DBus, and Custom C++ types.
-
I originally asked this question on Stackoverflow "here":http://stackoverflow.com/questions/3181156/can-a-pyqt-program-consume-a-dbus-interface-that-exposes-custom-c-types-marhsa.
I have a Qt/C++ application that exposes some custom C++ classes via DBus methods (by registering them as MetaTypes, and using annotations in the xml, "as described":http://techbase.kde.org/Development/Tutorials/D-Bus/CustomTypes on KDE's Techabse), and I want my PyQt program to consume these methods.
The problem I see is that the exposed types are C++ classes, not python, so how can I make python aware of these classes?
-
-
Would you like to post xml annotations and c++ code that implement custom type
-
Is PyQT ... only solution? Do U look at dbus-python? Read this http://stackoverflow.com/questions/1883830/receive-data-from-dbus
-