[Development] About qfilesystemwatcher: what events?

Mark Gaiser markg85 at gmail.com
Mon Nov 30 11:52:23 CET 2015

On Mon, Nov 30, 2015 at 11:07 AM, Stef Bon <stefbon at gmail.com> wrote:

> Hi,
> I'm looking at qfilesystemwatcher.
> It's not possible to configure what events it watches. For example:
> when watching a directory and an event happens on an entry in this
> directory: it's changed.
> The size for example is changed. qfilesystemwatcher doe not give this
> information: it only signals that the "something" has been changed in
> the directory.
> This means that you have to scan through the directory and compare
> each file one by one.
> FS Watches to watch a whole directory are used a lot, but it should
> give more information about the event (name of entry, and a mask,
> simular to inotify).
> Is this planned?
> Stef
Hi Stef,

What you describe is planned by me for the inotify backend (linux), but
that's on my schedule for at least a year now so don't bet on that ending
up in Qt anytime soon.
Even if i make it, the other backends (Mac, Windows and the other supported
Qt platforms) have to be adjusted accordingly as well and i don't even know
if those backeds support the "flexibility" of inotify.

If you (or anyone else) can offer help, it would be much appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20151130/41dd1fbc/attachment.html>

More information about the Development mailing list