string variables qml
Solved
General and Desktop
-
wrote on 24 Sept 2019, 20:43 last edited by
trying to use string variable in qml as text
i tried this , keep getting error??property var string str1: "my string text"
also tried var str1 = "my string text'
....
Label {
text: str1
}what is the correct method for using text variable?
thanks
-
property string str1: "some string"
1/2