add new function QVARIANT-FROM-VALUE, needed in QML:QML-SET ("quick" examples)

This commit is contained in:
polos 2017-01-21 22:40:08 +01:00
parent 881939b2d9
commit b33a987248
10 changed files with 31 additions and 6 deletions

View file

@ -8,6 +8,7 @@
(require :qml-lisp "qml-lisp")
(defun run ()
;; *quick-view* can be either a QQuickView or a QQuickWidget
(setf qml:*quick-view* (qnew "QQuickView(QUrl)"
(|fromLocalFile.QUrl| "qml/example.qml")))
(|setResizeMode| qml:*quick-view* |QQuickView.SizeRootObjectToView|)