- Qt 5.5
- Qt SQL
- Query Model Example
- querymodel.pro Example File
- Qt 5.5.1 Reference Documentation

# querymodel.pro Example File

querymodel/querymodel.pro

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

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