教程
观看本视频,了解如何将 Figma 设计转换为适用于 Qt 应用程序的、可直接投入生产的 Qml 代码。视频详细介绍了从设计 UI 到将转换后的设计下载为 Qml 项目的完整工作流程。
您将学习如何:
- 将 Figma 组件映射到Qt Quick 控件,例如按钮、复选框、开关和滑块。
- 直接在 Figma 中以真实、可运行的界面形式预览您的设计,并支持不同屏幕分辨率。
- 检查设计中可能存在的问题,以及在应用程序中无法正常运行的解决方案。
- 从其他设计中导入变量和设计令牌。
- 准备设计文件以供下载,并交付开发者可直接在Qt Creator 或VS Code中打开的QML代码。
Playground 文件
下载 Playground 文件:
- Figma to Qt Playground演示了您在 Qt 应用程序项目中会遇到的实际设计挑战和转换模式。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.