Image Viewer Example | Qt Widgets 5.13.0

Qt 5.13 | Qt Widgets | Image Viewer Example

Qt 5.13.0 Reference Documentation

# Image Viewer Example

      QT += widgets
      requires(qtConfig(filedialog))
      qtHaveModule(printsupport): QT += printsupport

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

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