tablemodel.pro Example File

tablemodel/tablemodel.pro

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

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