Qt 5.11 | Qt Widgets | Movie Example | movie.pro Example File

Qt 5.11.3 Reference Documentation

# movie.pro Example File

widgets/movie/movie.pro

      QT += widgets
      requires(qtConfig(filedialog))

      HEADERS     = movieplayer.h
      SOURCES     = main.cpp \
                    movieplayer.cpp

      EXAMPLE_FILES = animation.gif

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/movie
      INSTALLS += target