Qt Reference Documentation

# querymodel.pro Example File

sql/querymodel/querymodel.pro

     HEADERS       = ../connection.h \
                     customsqlmodel.h \
                     editablesqlmodel.h
     SOURCES       = customsqlmodel.cpp \
                     editablesqlmodel.cpp \
                     main.cpp
     QT           += sql

     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/sql/querymodel
     sources.files = $$SOURCES *.h $$RESOURCES $$FORMS querymodel.pro
     sources.path = $$[QT_INSTALL_EXAMPLES]/sql/querymodel
     INSTALLS += target sources

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