Qt Reference Documentation

pixelator.pro Example File

itemviews/pixelator/pixelator.pro
 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]/itemviews/pixelator
 sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro images
 sources.path = $$[QT_INSTALL_EXAMPLES]/itemviews/pixelator
 INSTALLS += target sources

 symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
 maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)