mirror of
https://gitlab.com/eql/EQL5.git
synced 2025-12-06 10:31:19 -08:00
add new function QVARIANT-FROM-VALUE, needed in QML:QML-SET ("quick" examples)
This commit is contained in:
parent
881939b2d9
commit
b33a987248
10 changed files with 31 additions and 6 deletions
|
|
@ -100,7 +100,7 @@
|
|||
(find-qml-object object-name)
|
||||
property-name))
|
||||
(x:when-it (|propertyTypeName| property)
|
||||
(qlet ((variant (qnew (format nil "QVariant(~A)" x:it) value)))
|
||||
(qlet ((variant (qvariant-from-value value x:it)))
|
||||
(|write| property variant)))))
|
||||
|
||||
;;; JS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue