Qt Reference Documentation

# customsortfiltermodel.pro Example File

itemviews/customsortfiltermodel/customsortfiltermodel.pro

     HEADERS     = mysortfilterproxymodel.h \
                   window.h
     SOURCES     = main.cpp \
                   mysortfilterproxymodel.cpp \
                   window.cpp
     CONFIG     += qt

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

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