MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

affine.pro Example File

demos/affine/affine.pro
 SOURCES += main.cpp xform.cpp
 HEADERS += xform.h

 contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2) {
         DEFINES += QT_OPENGL_SUPPORT
         QT += opengl
 }

 SHARED_FOLDER = ../shared

 include($$SHARED_FOLDER/shared.pri)

 RESOURCES += affine.qrc

 # install
 target.path = $$[QT_INSTALL_DEMOS]/affine
 sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html *.jpg
 sources.path = $$[QT_INSTALL_DEMOS]/affine
 INSTALLS += target sources

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

 wince*: {
     DEPLOYMENT_PLUGIN += qjpeg
 }