[Interest] QFileSystemWatcher and accesing files in monitored directory...

Igor Mironchik igor.mironchik at gmail.com
Mon Aug 31 18:54:51 CEST 2015



8/31/2015 7:40 PM, Alexey Godko пишет:
> What exactly error did you expect?

The process cannot access the file because it is used by another 
process. But this file nobody axcept my application is trying to read. 
 From OS I copied new file to the monitored system... And that's all
>
> 2015-08-31 19:31 GMT+03:00 Igor Mironchik <igor.mironchik at gmail.com 
> <mailto:igor.mironchik at gmail.com>>:
>
>     Hi guys,
>
>     I set up QFileSystemWatcher for monitoring some directory. All is fine
>     But sometimes in slots connected to the directoryChanged() I can't do
>     file reading... I', trying to open file with QIODevice::ReadOnly,
>     but it
>     fails...
>
>     Can it be problem of implementation of QFileSystemWatcher? How can I
>     solve this problem? I really need to read files from monitored
>     directory.
>     _______________________________________________
>     Interest mailing list
>     Interest at qt-project.org <mailto:Interest at qt-project.org>
>     http://lists.qt-project.org/mailman/listinfo/interest
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150831/5fc671f8/attachment.html>


More information about the Interest mailing list