Getting Started with Qt Bridge for Figma: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Qt Bridge for Figma)
(Projects for MCUs)
Line 14: Line 14:
# Plugin is now available via main menu or over actions (Ctrl + K)
# Plugin is now available via main menu or over actions (Ctrl + K)


[[File:Qt bridge figma main menu.png|thumb|left]]
[[File:Qt bridge figma main menu.png|thumb|none]]
[[File:Qt bridge figma actions.png|thumb|left]]
[[File:Qt bridge figma actions.png|thumb|none]]
 
==Projects for MCUs==
MCU platforms have limited resource availability, so getting the most out of them is critical.
To achieve the best results, we have introduced [https://doc.qt.io/QtForMCUs-2.8/qtul-overview.html Qt Quick Ultralite], which is specifically designed for embedded platforms.
However, there are differences between the regular Qt library and Qt Quick Ultralite (you can read more about them [https://doc.qt.io/QtForMCUs-2.8/qtul-qtquick-differences.html here]).
When working on a project for MCUs, you need to be aware of these limitations. To help you best prepare your project before exporting to Qt Design Studio, we have added a special mode to Qt Bridge for the Figma plugin. 
 
'''Note:''' To learn more about limitations, see ''Known issues or limitations'' section.
 
===Export target: Qt for MCUs===
The MCU mode in the Qt Bridge for Figma has two main purposes:
*preset plugin settings so that customization of the export process is compatible with the Qt Quick Ultralite
*enable MCU-specific checks, that provide a valuable information when using properties or effects that can't be reflected in the Qt Quick Ultralite
 
[[File:Qt bridge mcu export target.png|thumb|none]]
 
If you want to see Qt for MCUs warnings:
#Go to the Settings
#Set the Export target to 'Qt for MCUs'
#Select an item in Figma, that you want to verify
#Check Home -> Node Info
 
[[File:Qt bridge node info.png|thumb|none|521x521px]]

Revision as of 10:18, 15 November 2024

The following instruction is a getting started guide to the Qt Design Studio and it's integration with Figma through the Qt Bridge. The focus is on Qt for MCU project development. If you are new to the Qt Design Studio, please visit the Qt Design Studio Documentation for detailed installation instructions, getting started guide and tutorials.

Qt Bridge for Figma

Qt Bridge for Figma is a plugin that allows you to export projects from Figma and ultimately convert them into executable QML code in Qt Design Studio. The plugin has a number of settings that allow you to customize the export process or inject QML code into QML components. It also has a special Qt for MCUs mode that respects MCU limitations and provides useful hints during design creation.

If you are interested in the technical details of the Qt Design Studio and Figma integration, read the Qt-Bridge Metadata format article and watch the Qt Bridge Plugins in Depth video.

Getting Qt Bridge for Figma

Note: Qt Bridge for Figma is available under the Qt Design Studio Enterprise license

  1. Go to the plugin page
  2. Click on 'Open in Figma' (it may ask you to to log in to your Figma account)
  3. Open in... -> Playground file (or one any of your recent projects)
  4. Plugin is now available via main menu or over actions (Ctrl + K)
Qt bridge figma main menu.png
Qt bridge figma actions.png

Projects for MCUs

MCU platforms have limited resource availability, so getting the most out of them is critical. To achieve the best results, we have introduced Qt Quick Ultralite, which is specifically designed for embedded platforms. However, there are differences between the regular Qt library and Qt Quick Ultralite (you can read more about them here). When working on a project for MCUs, you need to be aware of these limitations. To help you best prepare your project before exporting to Qt Design Studio, we have added a special mode to Qt Bridge for the Figma plugin. 

Note: To learn more about limitations, see Known issues or limitations section.

Export target: Qt for MCUs

The MCU mode in the Qt Bridge for Figma has two main purposes:

  • preset plugin settings so that customization of the export process is compatible with the Qt Quick Ultralite
  • enable MCU-specific checks, that provide a valuable information when using properties or effects that can't be reflected in the Qt Quick Ultralite
Qt bridge mcu export target.png

If you want to see Qt for MCUs warnings:

  1. Go to the Settings
  2. Set the Export target to 'Qt for MCUs'
  3. Select an item in Figma, that you want to verify
  4. Check Home -> Node Info
Qt bridge node info.png