Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
QDS Code Generation Sprint 2
Description
If there are binding source path properties in root node on HButton template qml file, source path properties' replacement isn't done in a way we want during component merging. it is just only property name and value(path) with no "property string" keyword. so then, merged qml file causes a warning message of invalid on QDS.
- - before merging –
import ccOS.GUI.Controls 2.0
T.Button {
id: control
objectName: "HButton"
property string backgroundSrc: relativeBGPath
background: HNinePatchImage
{ id: innerBackground }}
– after merging –
import ccOS.GUI.Controls 2.0
T.Button {
id: control
objectName: "HButton"
backgroundSrc: "assets/bco_btn_bg_bottom"
background: HNinePatchImage
{ id: innerBackground }}