C
Qt Quick Ultralite 表达式示例
/****************************************************************************** ** ** 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: ".." mainFile: "rootqml/watch.qml" QmlFiles { files: [ "ApplicationList.qml", "CompassWidget.qml", "GradientShape.qml", "HealthWidget.qml", "WatchShield.qml", "WeatherWidget.qml", "WidgetsRow.qml" ] } ModuleFiles { files: [ "qmlproject/watch_model.qmlproject", "mode/benchmark_module.qmlproject" ] } InterfaceFiles { files: [ "inc/HealthModel.h", "inc/WatchModel.h" ] } ModuleFiles { MCU.qulModules: ["Shapes"] } FontFiles { files: [ "fonts/Montserrat-Black.ttf", "fonts/Montserrat-BlackItalic.ttf", "fonts/Montserrat-Bold.ttf", "fonts/Montserrat-BoldItalic.ttf", "fonts/Montserrat-ExtraBold.ttf", "fonts/Montserrat-ExtraBoldItalic.ttf", "fonts/Montserrat-ExtraLight.ttf", "fonts/Montserrat-ExtraLightItalic.ttf", "fonts/Montserrat-Light.ttf", "fonts/Montserrat-LightItalic.ttf", "fonts/Montserrat-Medium.ttf", "fonts/Montserrat-MediumItalic.ttf", "fonts/Montserrat-Regular.ttf", "fonts/Montserrat-RegularItalic.ttf", "fonts/Montserrat-SemiBold.ttf", "fonts/Montserrat-SemiBoldItalic.ttf", "fonts/Montserrat-Thin.ttf", "fonts/Montserrat-ThinItalic.ttf" ] } MCU.Config { defaultFontFamily: "Montserrat" } ImageFiles { files: [ "images/shield/hand-minute.png", "images/shield/hand-hour.png", "images/shield/hand-second.png", "images/compass/arrows.png" ] MCU.resourceOptimizeForRotation: false } ImageFiles { files: [ "images/compass/ring1.png", "images/compass/E.png", "images/compass/ring2.png", "images/compass/middleback.png", "images/compass/N.png", "images/compass/S.png", "images/compass/W.png", "images/weather/ion-ios-sunny-outline.png", "images/weather/w-bottom-mask.png", "images/weather/big-sun.png", "images/weather/ion-ios-partlysunny-outline.png", "images/weather/w-vertical.png", "images/weather/ion-ios-rainy-outline.png", "images/list/sport-app-big.png", "images/list/sport-app.png", "images/list/compass-big.png", "images/list/settings.png", "images/list/your-health-big.png", "images/list/settings-big.png", "images/list/compass.png", "images/list/tools.png", "images/list/your-health.png", "images/list/tools-big.png", "images/health/vertical-line.png", "images/health/graph.png", "images/health/graph-point.png", "images/health/horizontal-line.png", "images/health/heart.png", "images/shield/dots-all.png", "images/shield/hands-middle-dot.png", "images/shield/battery-icon.png", "images/shield/heart.png", "images/shield/small-oval-alt.png", "images/shield/steps-icon.png" ] } }