mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 10:31:34 -08:00
17 lines
310 B
Common Lisp
17 lines
310 B
Common Lisp
(defpackage :qt
|
|
(:use :cl :qml)
|
|
(:export
|
|
#:*cpp*
|
|
#:ini
|
|
#:rotate-image))
|
|
|
|
(in-package :qt)
|
|
|
|
(defvar *cpp* nil)
|
|
|
|
(defun ini ()
|
|
(setf *cpp*
|
|
#+qt-plugin (qload-c++ "cpp/qt")
|
|
#-qt-plugin (qfind-child nil "QT"))
|
|
(let ((*package* (find-package :qt)))
|
|
(define-qt-wrappers *cpp*)))
|