querymodel.pro Example File

querymodel/querymodel.pro
 HEADERS       = ../connection.h \
                 customsqlmodel.h \
                 editablesqlmodel.h
 SOURCES       = customsqlmodel.cpp \
                 editablesqlmodel.cpp \
                 main.cpp
 QT           += sql widgets
 requires(qtConfig(tableview))

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