Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-46858

Can't call QMetaProperty on objects generated with qdbusxml2cpp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.5.0 RC
    • D-Bus
    • None
    • Plasma, ArchLinux

    Description

      The problem is that QDBusAbstractInterfaceBase::qt_metacall eats all the properties, so whenever the newly added property is fetched, dbus tries to call and logically fails with org.freedesktop.DBus.Error.UnknownProperty.

      We would need either have QDBusAbstractInterfaceBase::qt_metacall only trigger the properties that it's owned (or at least let sub-classes recover if the call didn't happen properly) or at least add a big fat error when somebody tries to add properties to a QDBusAbstractInterfaceBase.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            apol-old Aleix Pol (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes