MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

puzzle.pro Example File

draganddrop/puzzle/puzzle.pro
 HEADERS     = mainwindow.h \
               pieceslist.h \
               puzzlewidget.h
 RESOURCES   = puzzle.qrc
 SOURCES     = main.cpp \
               mainwindow.cpp \
               pieceslist.cpp \
               puzzlewidget.cpp

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

 symbian:{
    TARGET.UID3 = 0xA000CF65
    include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
    addFile.sources = example.jpg
    addFile.path = .
    DEPLOYMENT += addFile
 }
 wince*: {
    addFile.sources = example.jpg
    addFile.path = .
    DEPLOYMENT += addFile
 }