[Interest] File change signal is emitted multiple times in QFileSystemWatcher on Mountain Lion (Qt 4.8.2)

norulez at me.com norulez at me.com
Tue Jul 31 22:12:33 CEST 2012


I tested this behavior on Windows, Linux and Mac OS X.
It seems that this weird behavior is only on Mac OS X.


Am 30.07.2012 um 21:04 schrieb norulez at me.com:

> Hello,
> 
> I noticed that QFileSystemWatcher is emitting the fileChanged() signal between 3 and 4 times.
> Is this behavior wanted or is this a bug? Does anyone else has this behavior too?
> How can i avoid multiple signals if this behavior is wanted?
> 
> How to reproduce:
> 1.) Create a file ("touch HelloWorld.txt")
> 2.) Open a file ("HelloWorld.txt")
> 3.) Modify the file ("echo "Hello World" >> HelloWorld.txt")
> 4.) The fileChanged() signal is received multiple times
> 
> System: Qt 4.8.2
>              OS X Mountain Lion
> 
> Does anyone know when Mountain Lion is supported? Qt 4.8.3? Qt 5.0?
> 
> Thanks in advance
> 
> Best Regards
> NoRulez
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list