relationaltablemodel.pro Example File | Qt SQL 5.6

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

Qt 5.6.2 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