Rujia Liu rujia.liu@gmail.com writes:
Dear all,
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.
- 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.
Works fine here, but it uses a bit older way of calling static functions, I updated it. And it should be (main :cde), not T.
- in tutorial-14 example, I had to comment out two lines:
;(with-objects ((rect (#_new QRect -35 -35 70 70))) ; (#_drawPie painter rect 0 (* 90 16)))
There was a problem with optimizing constant expressions. Fixed in git. Thanks for the report.