Qt 5.8 | Qt Quick Controls 2 | Qt Quick Controls 2 - Chat Tutorial | chapter5-styling.pro Example File

Qt 5.8.0 Reference Documentation

# chapter5-styling.pro Example File

chattutorial/chapter5-styling/chapter5-styling.pro

      TEMPLATE = app

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

      !qtConfig(sql-sqlite): QTPLUGIN += qsqlite

      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/chapter5-styling
      INSTALLS += target