pixelator.pro Example File | Qt Widgets 5.12.7

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

Qt 5.12.7 Reference Documentation

# pixelator.pro Example File

itemviews/pixelator/pixelator.pro

      QT += widgets
      requires(qtConfig(tableview))
      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