Problem with ksycoca on windows

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Fri Feb 8 07:11:33 CET 2008


Hi,

I've a problem on windows - when ksycoca is running / the db is open, I
can't execute kbuildsycoca to update the db. The problem is that
kbuildsycoca can't overwrite an open file on windows.
There're two solutions
- let kbuildsycoca create ksyscoca.new and rename the file when db is closed
- open the file in a special mode so I can delete it also someone has an
open file handle on it. But for this I can't use QFile and I don't know
if it really works like it should.


Any ideas?
Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-windows/attachments/20080208/5786db70/attachment.pgp 


More information about the Kde-windows mailing list