From kde-devel Mon Aug 10 18:46:24 2009 From: Matthew Woehlke Date: Mon, 10 Aug 2009 18:46:24 +0000 To: kde-devel Subject: Re: QDBusConnection::registerObject: "Invalid object path given" Message-Id: X-MARC-Message: https://marc.info/?l=kde-devel&m=124993007214439 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 <<