Qt Reference Documentation

puzzle.pro Example File

itemviews/puzzle/puzzle.pro
 HEADERS     = mainwindow.h \
               piecesmodel.h \
               puzzlewidget.h
 RESOURCES   = puzzle.qrc
 SOURCES     = main.cpp \
               mainwindow.cpp \
               piecesmodel.cpp \
               puzzlewidget.cpp

 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/itemviews/puzzle
 sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.jpg
 sources.path = $$[QT_INSTALL_EXAMPLES]/itemviews/puzzle
 INSTALLS += target sources

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

 wince* {
    DEPLOYMENT_PLUGIN += qjpeg qgif qtiff
 }

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