richard.j.dale@gmail.com
1/18/2007 7:26:00 PM
Caleb Tennis wrote:
> > I am trying to set up a "live" plotting in my Qtruby application (see
> > my earlier post), and it seems that the Qwt library might be what I am
> > looking for. As I understand it, Qtruby supports Qwt, but I can't find
> > much documentation about it. Is there anybody out there with a simple
> > example of plotting with Qwt in Ruby?
>
> It's not documented greatly, unfortunately, but it should work. Your past posts
> indicate you seem to be using QtRuby for Qt3. Is that right? I think that the Qwt
> support in QtRuby is only for the Qt4 library version (and corresponding Qwt version
> - 5.x).
No, it does work with Qt3 QtRuby too. I had some problems with parsing
Qt properties in the Qt4 version of Qwt, but I did get that one working
in the end. For both Qt3 and Qt4, you need to install the Qwt headers
into the same include directory as the Qt ones, and configure QtRuby
with '--enable-qwt=yes' to build with the qwt libs.
-- Richard