C

Qt Quick Ultralite Automotive Cluster Demo

/******************************************************************************
**
** Copyright (C) 2022 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Quick Ultralite module.
**
** $QT_BEGIN_LICENSE:COMM$
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see http://www.qt.io/terms-conditions. For further
** information use the contact form at http://www.qt.io/contact-us.
**
** $QT_END_LICENSE$
**
******************************************************************************/

import QmlProject 1.3

Project {

  projectRootPath: ".."

  QmlFiles {
    files: [
        "automotive.qml",
        "BaseGauge.qml",
        "CarStatus.qml",
        "DriveModeSelector.qml",
        "Gauge.qml",
        "GuideArrowItem.qml",
        "GuideArrow.qml",
        "LaneAssist.qml",
        "LaneAssistWhiteLine.qml",
        "LinearGauge.qml",
        "MediaPlayer.qml",
        "Menu.qml",
        "MiddleGauge.qml",
        "Navi.qml",
        "NormalModeContentItem.qml",
        "NormalMode.qml",
        "Phone.qml",
        "SpeedWarningIndicator.qml",
        "SportGauge.qml",
        "SportMode.qml",
        "TellTalesIndicator.qml",
        "TellTales.qml",
        "TempGauge.qml"
        ]
  }

  ModuleFiles {
      files: [
      "qmlproject/automotive_module.qmlproject",
      "benchmark/benchmark_module.qmlproject"
      ]
  }

  FontFiles {
    files: [
    "fonts/Sarabun-Regular.ttf",
    "fonts/Sarabun-Bold.ttf"
    ]
  }

  InterfaceFiles {
    files: [
    "src/hmi_input/hmi_input.h",
    "src/hmi_input/hmi_input_event.h",
    "benchmark/benchmarkmode.h",
    "src/simulationcontroller.h"
    ]
  }

  ImageFiles {
    files: [
    "images/needle-standard-sport.png",
    "images/highlight-big-sport.png",
    "images/highlight-normal.png",
    "images/needle-normal.png"
    ]

    MCU.resourceOptimizeForRotation: true
  }

  ImageFiles {
    files: ["images/gauge-gauge-frame-sport-center.png"]

    // Reduce VRAM usage by leaving some images in flash
    MCU.resourceCachePolicy: "NoCaching"
    MCU.resourceImagePixelFormat: "AutomaticCompressedLossless"
  }

  ImageFiles {
    files: [
    "images/albums/ak.png",
    "images/albums/thievery-corp.png",
    "images/albums/phazz.png",
    "images/albums/tycho.png",
    "images/albums/juno.png"
    ]

    // Reduce VRAM usage by leaving some images in flash
    MCU.resourceCachePolicy: "NoCaching"
    MCU.resourceImagePixelFormat: "AutomaticCompressedLossless"
  }

  ImageFiles {
    files: [
    "images/gauge-gauge-frame.png",
    "images/gauge-gauge-frame-sport-side.png",
    "images/gauge-normal.png",
    "images/photos/beatriz.png",
    "images/photos/aryn.png",
    "images/photos/hirini.png",
    "images/photos/caspar.png",
    "images/photos/joslin.png"
    ]

    // Reduce VRAM usage by leaving some images in flash
    MCU.resourceCachePolicy: "NoCaching"
  }

  ImageFiles {
    files: [
    "images/fuel.png",
    "images/low-beam-headlights.png",
    "images/parking-lights.png",
    "images/white-line-left.png",
    "images/sport.png",
    "images/battery.png",
    "images/pseudo-mask-vertical.png",
    "images/bg-mask.png",
    "images/white-line-right.png",
    "images/setup.png",
    "images/play.png",
    "images/ready.png",
    "images/top-line.png",
    "images/oil-temp.png",
    "images/airbag.png",
    "images/turn_right.png",
    "images/leaf.png",
    "images/red-border-right.png",
    "images/navi.png",
    "images/phone.png",
    "images/red-border-left.png",
    "images/clock.png",
    "images/car-highlights.png",
    "images/assets-phone-list-pseudo-mask.png",
    "images/road.png",
    "images/highlight-standard-sport.png",
    "images/parked.png",
    "images/speed-limit-warning.png",
    "images/turn_left.png"
    ]
  }
}