2008/12/12 wubbie <[email protected]>
>
> Hi,
> The same hello world did not work for me.
> The error msgs are:
> (defn hello-world []
> (qt4
> (let [app (QCoreApplication/instance)
> button (new QPushButton "Go Clojure Go")]
> (.. button clicked (connect app "quit()"))
> (doto button
> (resize 250 100)
> (setFont (new QFont "Deja Vu Sans" 18 (.. QFont$Weight Bold
> value)))
> (setWindowTitle "Go Clojure Go")
> (show)))))
> java.lang.Exception: Unable to resolve symbol: resize in this context
> (NO_SOURCE_FILE:44)
>
>
Hi,
Depending on which version of Clojure you are using you may find that you
need to change:
(doto button
(resize 250 100))
to:
(doto button
--
Geoffrey Teale
Freelance Software and Technology Consultant
Munich, Germany
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---