Qt Reference Documentation

# treemodelcompleter.pro Example File

tools/treemodelcompleter/treemodelcompleter.pro

     HEADERS   = treemodelcompleter.h \
                 mainwindow.h
     SOURCES   = treemodelcompleter.cpp \
                 main.cpp \
                 mainwindow.cpp
     RESOURCES = treemodelcompleter.qrc

     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/tools/treemodelcompleter
     sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS treemodelcompleter.pro resources
     sources.path = $$[QT_INSTALL_EXAMPLES]/tools/treemodelcompleter
     INSTALLS += target sources

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

     symbian: warning(This example might not fully work on Symbian platform)
     maemo5: warning(This example might not fully work on Maemo platform)
     simulator: warning(This example might not fully work on Simulator platform)