Hi...I am creating a thread using QThread..
When i exit my application i want to kill this thread but i am getting the following error :

QThread object destroyed while thread is still running.

i want to kill this thread in the destructor of my main window...i tried calling terminate() in the destructor but i am still getting the same error...

please let me know soon wht can be done..