playing with ruby gui frameworks

Trying to figure out how easy it is to use ruby to write a desktop application.  It would be nice to have something cross-platform.  At the moment I’m playing with qt4, gtk2, and wxwidgets.

To install Qt4:

  • sudo apt-get install libqt4-dev cmake
  • sudo gem install qtbindings
  • alternatively for ruby 1.8: sudo apt-get install libqt4-ruby
  • memory used by “hello world” 94MB

To install Gtk2:

  • sudo apt-get install libwxgtk2.8-dev
  • sudo gem install gtk2
  • alternatively for ruby 1.8: sudo apt-get install libgtk2-ruby
  • size of gtk2.so – 3,450,759 bytes
  • memory used by “hello world” 66MB

Leave a Reply

Your email address will not be published. Required fields are marked *