Qt 5.6 | Qt Widgets | Image Viewer Example | imageviewer.pro Example File

Qt 5.6.2 Reference Documentation

# imageviewer.pro Example File

widgets/imageviewer/imageviewer.pro

      QT += widgets
      qtHaveModule(printsupport): QT += printsupport

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

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

      wince {
         DEPLOYMENT_PLUGIN += qjpeg qgif
      }