[commonqt-devel] new user queries

Greg Bennett gwbennett at sentex.ca
Sat Dec 14 02:52:00 UTC 2013


Thanks for this; I shall examine the install carefully.
/Greg Bennett
***
On Sat, 2013-12-14 at 10:29 +0800, Rujia Liu wrote:
> Hi!
> 
> I'm a happy user of commonqt. with-main-window was added in September
> 2013, in this commit:
> 
> https://github.com/stassats/commonqt/commit/4f78c74e523c7b8fbfc503a4aa969348eb8152ce
> 
> 
> qapp.lisp:
> 
> +(defmacro with-main-window ((window form) &body body)
> +  `(progn
> +     (make-qapplication)
> +     (with-objects ((,window ,form))
> +       , at body
> +       (#_show ,window)
> +       (#_exec *qapplication*))))
> +
> 
> 
> So either your commonqt copy is not new, or you placed your git clone
> in a wrong place so that you're still using an old version of
> commonqt.
> 
> 
> I didn't run tests but so far there wasn't anything that prevented me
> from building the project I want.
> 
> 
> 
> - Rujia
> 
> 
> 
> 
> On Sat, Dec 14, 2013 at 9:00 AM, Greg Bennett <gwbennett at sentex.ca>
> wrote:
>         Hello there .. I am running linux mint 14 (64 bit) and clozure
>         (ccl
>         1.9-r15972M), and have just installed commonqt, as well as
>         many
>         non-lisp necessities on the qt side.
>         
>         I am a tad stuck in trying to use commonqt, and would
>         appreciate a
>         pointer to assistance.
>         
>         (1) In trying to run the example pointed to on the page
>         
>         http://common-lisp.net/project/commonqt/#main-window
>         
>         as the lisp version of the currency-conversion code, and thus
>         in a
>         package which apparently references qt, in a fresh ccl
>         I am told that there is no  with-main-window  function. This
>         string
>         is also referred to as a macro on the above page.
>         
>         It would seem that I am missing it, so a pointer to its
>         definition
>         would be helpful.
>         
>         (2) Way down in a git clone, where commonqt lives, there is a
>         test
>         subdirectory containing 3 files, one of which is package.lisp
>         which holds only this definition:
>         (defpackage :qt-tests
>             (:use :cl :rt :qt :iterate))
>         The package qt-tests is the one within which the tests.lisp
>         code is to
>         run. Issuing the above defpackage ->
>         
>         Error There is no package named "RT"
>         
>         so, again, I seem stuck for lack of knowledge.
>         
>         Thanks for any and all assistance.
>         
>         Cheers /Greg Bennett
>         
>         
>         
>         
>         
> 
> 





More information about the commonqt-devel mailing list