I removed the "new eventloop" stuff from tutorial-14 and changed it according to qt-conv, something like (omitted unwind-protect and hide):
(setf *qapp* (make-qapplication)) (let ((window (test))) (#_exec *qapp*)))
Then it worked.
Great! Now I think I can end my "evaluation process" now and start to write the real applications (one new project, one project that has a ltk version - but tk has some limitations so we'd like to port it to commonqt).
- Rujia
On Wed, Sep 11, 2013 at 2:25 PM, Rujia Liu rujia.liu@gmail.com wrote:
On Wed, Sep 11, 2013 at 12:18 PM, Stas Boukarev stassats@gmail.comwrote:
Rujia Liu rujia.liu@gmail.com writes:
I played around the examples a little and found the workarounds:
- qt-conv, call (make-qapplication) BEFORE using QApplication. that
works
perfectly.
Right, that was the problem. Fixed in git, thanks.
Thanks!
One more issue for tutorial-14:
When I hit "Quit" button the program terminates, but if I simply close the window by clicking the "cross" button on the top-right corner, the program does NOT terminate.
This is true for both SBCL 1.1.4.0.mswin.1288-90ab477 (that win32-thread fork) and ccl-1.9-windowsx86 so I guess it's not a compiler issue. Further more, qt-conv does not have this bug, so I guess it's just something is missing in tutorial-14's code.
- Rujia