Qt 4.8: syntaxhighlighter.pro Example File (richtext/syntaxhighlighter/syntaxhighlighter.pro)

Qt Reference Documentation

# 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.files = main.cpp mainwindow.cpp
        addFiles.path = .
        DEPLOYMENT += addFiles
     }
     maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)