[maemo-developers] qdbusxml2cpp - Invalid D-BUS interface problem

From: Tarantism tarantism at ntlworld.com
Date: Wed Feb 9 00:27:53 EET 2011
I'm trying to check the system volume from a Qt C++ application. I saw
that I could set (and found that I could read) volume over dbus talking
to com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer

This works fine using dbus-send but when I follow the instructions to
use qdbusxml2cpp, I receive:

Invalid D-BUS interface name
'com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer' found
while parsing introspection

I've found a discussion regarding a similar problem with plasma-desktop
last year (https://bugs.kde.org/show_bug.cgi?id=240358) and more
discussion in '09 (https://bugs.freedesktop.org//show_bug.cgi?id=20948)
but I'm confused as to the result.

Am I doing something wrong or is the gstrenderer interface name (excuse
me if my terminology is wrong) non-compliant to the dbus spec?

If I bypass qdbusxml2cpp completely and write QDBus code directly will
this work with this interface name?


More information about the maemo-developers mailing list