[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: QDBusConnection::registerObject: "Invalid object path given" -
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2009-08-09 11:38:32
Message-ID: 200908091338.42095.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Sunday, 2009-08-09, Matthew Woehlke wrote:
> Thomas � wrote:
> > Am Saturday 08 August 2009 schrieb Matthew Woehlke:
> >> I'm tripping this assert in an app I am developing, and have no idea
> >> why. Any suggestions?
> >>
> >> The path in question appears to be "/kaleo-fire/MainWindow_1".
> >> "kaleo-fire" is the name of the binary, MainWindow is the name of the
> >> main window class (Kaleo::Fire::MainWindow).
> >
> > Try w/o the dash (kaleo_fire), i think there was some issue (but am not
> > really sure).
>
> Um... wow, wouldn't have come up with that. Is that by design, or a
> bug?? (And yes, s/-/_/ makes it work...)

That's by design. In the Qt docs [1] this can be found under "Object Paths" 
and in the D-Bus spec [2] under "Valid Object Paths"

Cheers,
Kevin

[1] http://doc.trolltech.com/4.5/intro-to-dbus.html
[2] http://dbus.freedesktop.org/doc/dbus-specification.html

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic