[commonqt-devel] Question abot CommonQt examples

Stas Boukarev stassats at gmail.com
Wed Sep 11 03:57:57 UTC 2013


Rujia Liu <rujia.liu at 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.
>
> 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.
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.

> 2. 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.

-- 
With best regards, Stas.



More information about the commonqt-devel mailing list