On Wednesday 29 October 2008, Petri Damstén wrote: > On Wednesday 29 October 2008 05:08:32 Aaron J. Seigo wrote: > > On Tuesday 28 October 2008, Petri Damstén wrote: > > > Run kbuildsyscoca4 from plasmapkg patch attached. > > > > this could probably be done via dbus and kded (faster, more reliable?) > > > > qdbus org.kde.kded /kbuildsycoca recreate > > > > so something like in the code: > > > > QDBusInterface dbus("org.kde.kded", "/kbuildsycoca", > > "org.kde.kbuildsycoca"); dbus.call(QDBus::NoBlock, "recreate"); > > > > otherwise, +1 for the concept =) assuming you get it working via the > > above dbus interface, pls commit.. > > Does not work for me like this or from qdbusviewer. I think it's because I > have plasma svn running on top of the kubuntu 4.1.2 and dbus calls the > 4.1.2 kbuildsycoca, so I can't test this. (I think KProcess works since > then there are correct env variables and /opt/kde-svn/bin is first in > path).
hm.. it shouldn't matter. does qdbus not show ord.kde.kded, /kbduilsycoca or the recreate method? i tested it here before sending the original email, so it would be interesting to know why it isn't working there ... -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Software
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel