Ok here is the code. I have put one gif image in my application folder named spinner.GIF".
Now the code to use it in multiple rows is as follows:

QMovie* processingImage;

processingImage = new QMovie(":/images/spinner.gif");
processingImage->start();
lblicon->setMovie(processingImage);

ui->tableWidget->setCellWidget(row, 1, lblicon);

Here processingImage is declared as class variable and lblicon is a QLabel* which is declare as a part of UI.
I have put this whole code in a function and call the function multiple times (precisely the selected rows)
Now the problem is when I select only one row the GIF image works fine but when I select more than 2 rows GIF image got stuck and works only when I move my mouse or press any key.

So please provide any solution for this problem.

Thanks in advance.

Sanket