[Qt-creator] Polling and running in circles

Adam Higerd ahigerd at timeips.com
Thu Mar 19 19:11:04 CET 2009


Agnostic Pope wrote:
> Shot in the dark...
> 
> Creator typically lets me know when my files are changed by an external 
> process.  Unless there's some interrupt driven way of doing it, my guess 
> is that it does reads to the filesystem.  I make no claim to be right;)
> 
> --James


There is; it's called inotify, and QFileSystemWatcher will use it if 
it's available... and it's available on pretty much all modern Linux 
distributions.

/s/ Adam



More information about the Qt-creator-old mailing list