mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 10:31:34 -08:00
36 lines
846 B
Common Lisp
36 lines
846 B
Common Lisp
(in-package :qml-user)
|
|
|
|
(pushnew :qt-plugin *features*)
|
|
|
|
(require :asdf)
|
|
|
|
(push (merge-pathnames "./")
|
|
asdf:*central-registry*)
|
|
|
|
(asdf:load-system :my-cl-protobufs)
|
|
(asdf:load-system :trivial-package-local-nicknames)
|
|
(asdf:load-system :cl-fad)
|
|
|
|
(push :depends-loaded *features*)
|
|
|
|
(asdf:operate 'asdf:load-source-op :app)
|
|
|
|
(qset *quick-view*
|
|
|x| 75
|
|
|y| 75)
|
|
|
|
(defun option (name)
|
|
(find name (ext:command-args) :test 'search))
|
|
|
|
;;; trivial auto reload of all QML files after saving any change
|
|
|
|
(when (option "-auto")
|
|
(load "lisp/qml-reload/auto-reload"))
|
|
|
|
;;; for Slime after copying 'lqml-start-swank.lisp' from LQML sources
|
|
;;; to your Slime directory, which is assumed to be '~/slime/'
|
|
|
|
(when (option "-slime")
|
|
(load "~/slime/lqml-start-swank") ; for 'slime-connect' from Emacs
|
|
(qlater (lambda () (in-package :lora))))
|
|
|