Qt 5.11 | Qt Widgets | Address Book Example | addressbook.pro Example File

Qt 5.11.3 Reference Documentation

# addressbook.pro Example File

itemviews/addressbook/addressbook.pro

      QT += widgets
      requires(qtConfig(listview))

      SOURCES   = adddialog.cpp \
                  addresswidget.cpp \
                  main.cpp \
                  mainwindow.cpp \
                  newaddresstab.cpp \
                  tablemodel.cpp
      HEADERS   = adddialog.h \
                  addresswidget.h \
                  mainwindow.h \
                  newaddresstab.h \
                  tablemodel.h

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/addressbook
      INSTALLS += target