The movies example only works if GIF reading is enabled in Qt.
See qt/include/qgif.h for more information.
