- Qt 5.5
- Qt Widgets
- Pixelator Example
- pixelator.pro Example File
- Qt 5.5.1 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