变体图层类型冲突
不同变体中同名的图层类型不同:例如,一个变体中是框架,另一个变体中是组件实例,或者两个不同组件的实例。
Figma to Qt 会将变体转换为一个 QML 组件的状态,因此此类图层无法合并为一个 QML 项,且其变体更改将与内部任何图层的更改一同被丢弃。
在下面的示例中,“background ”图层在“Default ”变体中是一个实例,但在“Small ”变体中是一个框架。

请在每个变体中使用相同的图层类型,或者为图层指定不同的名称,以便每个变体的状态都能显示其自身的图层。
© 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.