Qt 5.11 | Qt Quick Controls 2 | Qt Quick Controls 2 - Chat Tutorial | chapter4-models.pro Example File

Qt 5.11.3 Reference Documentation

# chapter4-models.pro Example File

chattutorial/chapter4-models/chapter4-models.pro

      TEMPLATE = app

      QT += qml quick sql
      CONFIG += c++11

      HEADERS += sqlcontactmodel.h \
          sqlconversationmodel.h

      SOURCES += main.cpp \
          sqlcontactmodel.cpp \
          sqlconversationmodel.cpp

      RESOURCES += \
          qml.qrc \
          ../shared/shared.qrc

      target.path = $$[QT_INSTALL_EXAMPLES]/quickcontrols2/chattutorial/chapter4-models
      INSTALLS += target