Qt Reference Documentation

relationaltablemodel.pro Example File

sql/relationaltablemodel/relationaltablemodel.pro
 HEADERS       = ../connection.h
 SOURCES       = relationaltablemodel.cpp
 QT           += sql

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

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