Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# simpletreemodel.pro Example File

itemviews/simpletreemodel/simpletreemodel.pro

     HEADERS     = treeitem.h \
                   treemodel.h
     RESOURCES   = simpletreemodel.qrc
     SOURCES     = treeitem.cpp \
                   treemodel.cpp \
                   main.cpp
     CONFIG  += qt

     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/itemviews/simpletreemodel
     sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.txt
     sources.path = $$[QT_INSTALL_EXAMPLES]/itemviews/simpletreemodel
     INSTALLS += target sources

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