Qt Reference Documentation

masterdetail.pro Example File

sql/masterdetail/masterdetail.pro
 HEADERS   = database.h \
             dialog.h \
             mainwindow.h
 RESOURCES = masterdetail.qrc
 SOURCES   = dialog.cpp \
             main.cpp \
             mainwindow.cpp

 QT += sql
 QT += xml

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

 symbian {
     TARGET.UID3 = 0xA000D7CF
     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)