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

List:       kde-devel
Subject:    Re: QDBusConnection::registerObject: "Invalid object path given"
From:       Matthew Woehlke <mw_triad () users ! sourceforge ! net>
Date:       2009-08-10 18:46:24
Message-ID: h5ppu1$vj0$1 () ger ! gmane ! org
[Download RAW message or body]

Kevin Krammer wrote:
> 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"

So... what? I can't use '-' in the name of a program? Or what do I need 
to change so that I can use '-' everywhere *except* the dbus path?

-- 
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
-- 
Never give up on learning

 
>> 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