MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

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
 }