[Cl-smoke] Building cl-smoke

Tobias Rautenkranz tobias at rautenkranz.ch
Sun Feb 7 11:37:36 CET 2010


> Can I do anything useful with just libsmokeqtcore? (And if not, what
>  minimal subset of libraries do you recommend?)
Well, you can do some console stuff. :)
(defun clock ()
  ;; C-c C-c ABORT-APP to quit.
  (qt:with-core-app ()
    (let ((timer (make-instance 'qt:timer)))
      (qt:connect (qt:get-signal timer "timeout()")
                  #'(lambda ()
                      (format t "time: ~A~%"
                              (cxx:to-string (qt:time.current-time)))))
      (cxx:start timer 1000)
      (qt:exec))))

List all classes in the qtcore module:
  (smoke::map-classes #'(lambda (c) (print (smoke:name c)))
                      cl-smoke.qt.core::*smoke-module*))

I recommend at least libsmokeqtgui and libsmokeqtcore; but it depends on what 
you would like to do.




More information about the Cl-smoke mailing list