<div dir="ltr"><div><div><div><div><div><div><div><div><div>Dear all,<br><br></div>I've just successfully installed CommonQt on Windows XP, and is able to run both qt-conv and tutorial-14. However, I have two questions.<br>
<br></div>1. In qt-conv example, if I run (main t) instead of (main), I got "Class not found: QApplication" error. But when i type (find-qclass "QApplication" t) in REPL, i got 1796.<br><br></div>2. in tutorial-14 example, I had to comment out two lines:<br>
;(with-objects ((rect (#_new QRect -35 -35 70 70)))<br> ; (#_drawPie painter rect 0 (* 90 16)))<br><br></div>Otherwise I'll get:<br>#<THREAD "main thread" RUNNING {23DA8A69}>:<br> No applicable method drawPie found on #<QPainter 0x021705D0> with arguments (#<br>
<QRect 0x02174AB8><br> 0<br><br> (<br>*<br><br>90<br><br>16))<br>
<br></div>I'm using Qt 4.8.5 library for vs2008 and compiled smokegen/smokeqt with vs2008 express (without SP1)<br><br></div>I used quicklisp to install commonqt yesterday, and is running qt-conv this way (ommited the output of the first 2 commands):<br>
<br></div>E:\>sbcl<br>* (require 'qt)<br>* (load "qt-conv.lisp")<br>* (qt-conv:main t)<br><br>debugger invoked on a SIMPLE-ERROR in thread<br>#<THREAD "main thread" RUNNING {23DA8A69}>:<br>
Class not found: QApplication<br><br>Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.<br><br>restarts (invokable by number or by possibly-abbreviated name):<br> 0: [ABORT] Exit debugger, returning to top level.<br>
<br>(QT:FIND-QCLASS "QApplication" T)<br>0] 0<br><br>* (qt-conv:main) ;; then no error occurred. qt-conv will run perfectly<br><br></div>Thanks in advance!<br><br></div>- Rujia<br><br><div><div><div><div><br></div>
</div></div></div></div>