[Qt-interest] How to stop threads started by QFileSystemModel (QFileInfoGatherer, QWindowsFileSystemWatcherEngine)?

Niels Dekker - no reply address invalid at this.is.invalid
Thu Aug 20 21:59:36 CEST 2009


>> Because I didn't properly delete my fileSystemModel, those
>> threads were kept alive for too long.  I'm sorry for the noise!

Scott Aron Bloom wrote:
> So does this mean, after all is said and done, when you
> properly delete the model, things are unloading for you?

No, that's a different matter. If the imageformat plugins are located at the 
right place, Qt will load them during the construction of QFileSystemModel. 
In that case, they will remain loaded, even after the destruction of qApp. 
And they will also keep QtGui4.dll and QtCore4.dll loaded, beyond the 
destruction of qApp.

At the moment we don't install the plugins at the end user's machine. 
Therefor they won't be bothered.

Kind regards, Niels





More information about the Qt-interest-old mailing list