Hi,

I have a custom widget based on QLabel, which it includes the QMovie.

I did overwrite the paintEvent(QPaintEvent* event).

Added QMovie->setFileName(GifFilePath); and QLabel->setMovie(QMovie); in the paintEvent function.

However, QMovie->isValid() returns false for me. I use isValid() as validation before I start the QMovie.

Why my QMovie is not valid?

Thanks in advance.