pixelator.pro Example File | Qt Widgets 5.6

Qt 5.6 | Qt Widgets | Pixelator Example | pixelator.pro Example File

Qt 5.6.2 Reference Documentation

# pixelator.pro Example File

itemviews/pixelator/pixelator.pro

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

      HEADERS     = imagemodel.h \
                    mainwindow.h \
                    pixeldelegate.h
      SOURCES     = imagemodel.cpp \
                    main.cpp \
                    mainwindow.cpp \
                    pixeldelegate.cpp
      RESOURCES   += images.qrc

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