Qt 5.7 | Qt SQL | Relational Table Model Example | relationaltablemodel.pro Example File

Qt 5.7.1 Reference Documentation

# relationaltablemodel.pro Example File

relationaltablemodel/relationaltablemodel.pro

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

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