C

Qt Quick Ultralite 滑动游戏 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 {
  InterfaceFiles {
    files: [
    "Globals.h",
    "HighscoreModel.h"
    ]
  }

  mainFile: "SwipeGame.qml"

  QmlFiles {
    files: [
    "BaseView.qml",
    "Button.qml",
    "CircularSwipeArea.qml",
    "ConfigContainer.qml",
    "ConfigView.qml",
    "DirectionalSwipeArea.qml",
    "GameContainer.qml",
    "GameOverView.qml",
    "GameRunningView.qml",
    "GameStartView.qml",
    "HighscoreView.qml",
    "LabeledSwitch.qml",
    "NumberView.qml",
    "ScrollIndicator.qml",
    "StartView.qml",
    "TimeView.qml"
    ]
  }

  ModuleFiles {
    files: [
    "style_module/style_module.qmlproject",
    "swipe_module.qmlproject"
    ]
  }

  ImageFiles {
    MCU.base: "images"
    files: [
    "images/mask_circle.svg",
    ]
    MCU.resourceOptimizeForRotation: false
  }

  ImageFiles {
    MCU.base: "images"
    files: [
    "images/mask_circle_highlight.svg"
    ]
    MCU.resourceOptimizeForRotation: false
    MCU.resourceCachePolicy: "OnDemand"
    MCU.Experimental.resourceSplitImageOptimization: false
  }

  ImageFiles {
    MCU.base: "images"
    files: [
    "images/mask_circle_highlight_right.svg",
    ]
    MCU.resourceCachePolicy: "OnDemand"
    MCU.Experimental.resourceSplitImageOptimization: false
    MCU.resourceImagePixelFormat: "Alpha8"
  }

  ImageFiles {
    MCU.base: "images"
    files: [
    "images/mask_circle_highlight_small_right.svg",
    "images/timebar.svg"
    ]
    MCU.resourceCachePolicy: "OnDemand"
    MCU.Experimental.resourceSplitImageOptimization: false
  }

  MCU.Config {
    glyphsCachePolicy: "NoCaching"
    resourceOptimizeForRotation: true
    resourceOptimizeForScale: true
    maxResourceCacheSize: 1048576
  }
}