- Qt 5.5
- Qt SQL
- Master Detail Example
- masterdetail.pro Example File
- Qt 5.5.1 Reference Documentation

# masterdetail.pro Example File

masterdetail/masterdetail.pro

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

    QT += sql widgets
    QT += xml widgets

    EXAMPLE_FILES = albumdetails.xml

    # install
    target.path = $$[QT_INSTALL_EXAMPLES]/sql/masterdetail
    INSTALLS += target