Qt 5.9 | Qt Positioning | Weather Info (C++/QML) | weatherinfo.pro Example File

Qt 5.9.9 Reference Documentation

# weatherinfo.pro Example File

weatherinfo/weatherinfo.pro

      TEMPLATE = app
      TARGET = weatherinfo

      QT += core network positioning qml quick
      requires(qtConfig(bearermanagement))

      SOURCES += main.cpp \
          appmodel.cpp

      OTHER_FILES += weatherinfo.qml \
          components/WeatherIcon.qml \
          components/ForecastIcon.qml \
          components/BigForecastIcon.qml \
          icons/*

      RESOURCES += weatherinfo.qrc

      HEADERS += appmodel.h

      target.path = $$[QT_INSTALL_EXAMPLES]/positioning/weatherinfo
      INSTALLS += target