On Sun, Feb 7, 2010 at 2:37 AM, Tobias Rautenkranz <span dir="ltr"><<a href="mailto:tobias@rautenkranz.ch">tobias@rautenkranz.ch</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">> Can I do anything useful with just libsmokeqtcore? (And if not, what<br>
>  minimal subset of libraries do you recommend?)<br>
</div>Well, you can do some console stuff. :)<br>
(defun clock ()<br>
  ;; C-c C-c ABORT-APP to quit.<br>
  (qt:with-core-app ()<br>
    (let ((timer (make-instance 'qt:timer)))<br>
      (qt:connect (qt:get-signal timer "timeout()")<br>
                  #'(lambda ()<br>
                      (format t "time: ~A~%"<br>
                              (cxx:to-string (qt:time.current-time)))))<br>
      (cxx:start timer 1000)<br>
      (qt:exec))))<br>
<br>
List all classes in the qtcore module:<br>
  (smoke::map-classes #'(lambda (c) (print (smoke:name c)))<br>
                      cl-smoke.qt.core::*smoke-module*))<br>
<br>
I recommend at least libsmokeqtgui and libsmokeqtcore; but it depends on what<br>
you would like to do.<br>
</blockquote></div><br>Well I finally managed to compile most of the smoke modules, so now I can use QtGui :-)<br><br>Is there any easy way to compile just the examples that I have compiled smoke for? E.g. I had to modify the asd file to avoid loading Phonon since I wasn't able to compile that specific smoke module.<br>
<br>Finally, what is the status of cl-smoke on Mac and Windows? I haven't been able to compile smoke on Windows yet, but I've got most of the smoke modules working on Mac. When I tried compile libclsmoke on Mac, it seemed to run into errors with the build system (I can provide the error messages if you are interested in debugging them).<br>
<br>Thanks again.<br clear="all"><br>-- <br>Elliott Slaughter<br><br>"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay<br>