Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. PyQt, DBus, and Custom C++ types.
Forum Update on Monday, May 27th 2025

PyQt, DBus, and Custom C++ types.

Scheduled Pinned Locked Moved Language Bindings
2 Posts 2 Posters 3.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ramblurr
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • E Offline
      E Offline
      erapid
      wrote on last edited by
      #2
      1. Would you like to post xml annotations and c++ code that implement custom type

      2. Is PyQT ... only solution? Do U look at dbus-python? Read this http://stackoverflow.com/questions/1883830/receive-data-from-dbus

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved