[Interest] qtbrowserplugin termination

2012-09-29 Thread Alexander Carôt
Hi -- the development of my own browserplugin with qt works better and better. For now I could compile my own app as a plugin on Windows XP and the Firefox browser. However, now the debugging process with a number of questions starts: The plugin itself is working fine but upon program

[Interest] Lifetime of data involved in QtConcurrent functions

2012-09-29 Thread Stephen Chu
I am implementing some threaded task with QtConcurrent framework, specifically mapped() function. I have some questions regarding the lifetime of various data used: Say I have the following code: QListMyData myList; ... // code to connect myFutureWatcher to slots auto

Re: [Interest] Lifetime of data involved in QtConcurrent functions

2012-09-29 Thread Thiago Macieira
On sábado, 29 de setembro de 2012 19.02.02, Stephen Chu wrote: Does mapped() make a copy of myList? Or do I have to make sure it lasts until future.isFinished()? It's a QList. A copy is made. Also, is it OK for future to go out of scope? Or do I once again have to keep it alive until it's