2008/12/12 wubbie <sunj...@gmail.com> > > 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 clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---