Problem with ksycoca on windows

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Fri Feb 8 06:11:33 GMT 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-core-devel/attachments/20080208/5786db70/attachment.sig>


More information about the kde-core-devel mailing list