On 01/15/2014 12:15 PM, Alex Merry wrote: > On 15/01/14 07:36, Valentin Rusu wrote: >> On 01/15/2014 07:16 AM, Ben Cooksley wrote: >>> It seems you are relying on D-Bus auto-launching. Is this the case? >> >> Yes, the kwallet API uses DBus activation to get kwalletd up un running. >> If that's already in place, then I realize that we need another thing to >> get tests running. Upon first launch, kwalletd pops-up a wallet setup >> wizard. That blocks the DBus call. That wizard will not pop-up if the >> configuration file kwalletrc has "First use=false" entry. >> >> I suppose I must install this file before launching. Should I rely on >> XDG_CONFIG_HOME variable to find out the kwalletrc location? > > Take care here - we want users to be able to run the tests without > clobbering their configuration files. > > QStandardPaths has a "test mode" that sets the write locations to things > in ~/.qttest.
Thanks for the hint. I'll take a look at it. > You could also just launch kwalletd manually from the tests and > ensure that XDG_CONFIG_HOME is set to something like ~/.kwalletd-tests > for that process, if kwallet doesn't intend to support windows or mac. Actually, kwalletd runs without problems on Windows, and I thinks on mac also.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel