On 04/04/12 16:14, ext Konstantin Tokarev wrote:
> I was using QFileSystemWatcher in my plugin, but than discovered 
> Utils::FileSystemWatcher.
>
> "Constructing/Destructing a QFileSystemWatcher is expensive. This can be 
> worked around
> by using a centralized watcher..."
>
> So I've decided I should use it instead of QFileSystemWatcher for the great 
> justice. However,
> when I switched I've discovered very strange behavior: I get signal 
> fileChanged for certain
> file only once.

Are you by any chance editing the files outside QtCreator with an editor 
such as emacs that actually creates a new file when saving? AFAIK, QFSW 
is not able to detect that the underlying inode has changed.


Christian
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to