MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

syntaxhighlighter.pro Example File

richtext/syntaxhighlighter/syntaxhighlighter.pro
 HEADERS         = highlighter.h \
                   mainwindow.h
 SOURCES         = highlighter.cpp \
                   mainwindow.cpp \
                   main.cpp

 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/richtext/syntaxhighlighter
 sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS syntaxhighlighter.pro examples
 sources.path = $$[QT_INSTALL_EXAMPLES]/richtext/syntaxhighlighter
 INSTALLS += target sources

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

 wince*: {
    addFiles.sources = main.cpp mainwindow.cpp
    addFiles.path = .
    DEPLOYMENT += addFiles
 }