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

Qt 5.11.3 Reference Documentation

# relationaltablemodel.pro Example File

relationaltablemodel/relationaltablemodel.pro

      HEADERS       = ../connection.h
      SOURCES       = relationaltablemodel.cpp
      QT           += sql widgets
      requires(qtConfig(tableview))

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