diff --git a/doc/auto-doc.htm b/doc/auto-doc.htm index 4eeedda..d109ee5 100644 --- a/doc/auto-doc.htm +++ b/doc/auto-doc.htm @@ -596,6 +596,11 @@ Takes C++ code from a file generated by the uic user interface comp Converts a Unicode pathname to a simple ECL base string, using QString::toUtf8().
Depending on the OS (namely OSX, Linux), this is necessary if you get a filename from Qt and want to use it in ECL.

See also QLOCAL8BIT.


+QVARIANT-VALUE (object) +

+Returns the Lisp value of the QVariant object. +
+

QVERSION ()

Returns the EQL version number as "<year>.<month>.<counter>", analogous to the ECL version number.
The second return value is the Qt version as returned by qVersion(). diff --git a/examples/M-modules/quick/Tic-Tac-Toe/tic-tac-toe.lisp b/examples/M-modules/quick/Tic-Tac-Toe/tic-tac-toe.lisp index 28f7296..5d38cff 100644 --- a/examples/M-modules/quick/Tic-Tac-Toe/tic-tac-toe.lisp +++ b/examples/M-modules/quick/Tic-Tac-Toe/tic-tac-toe.lisp @@ -16,6 +16,7 @@ (require :game-logic "game-logic") (defun run () + ;; *quick-view* can be either a QQuickView or a QQuickWidget (setf qml:*quick-view* (qnew "QQuickView(QUrl)" (|fromLocalFile.QUrl| "qml/tic-tac-toe.qml"))) (|setResizeMode| qml:*quick-view* |QQuickView.SizeRootObjectToView|)