I am learning Ruby, and for this I am writing an application. My background is in C ++ / Qt. So I started writing a Ruby / Qt application.
But there are some previously written widgets (C ++) that I would like to use besides qwt.
Is it possible? If so, how do I do this?
PS . QtRuby from the Korundum bindings seems to include Qwt bindings. I downloaded the binding source from RubyForge and I'm trying to build it. CMake starts up, but even if I enable the Qwt location on the command line, it skips it.
vitorpy@myhost:~/qtruby/qt4-qtruby-2.1.0> cmake -DCMAKE_INSTALL_PREFIX=/opt/kde4 -DENABLE_SMOKE=on -DENABLE_QTRUBY=on -DENABLE_QWT_SMOKE=on -DENABLE_QWT_RUBY=on -DQwt5_INCLUDE_DIR=/usr/local/qwt-5.2.1/include -DQwt5_Qt4_LIBRARY=/usr/local/qwt-5.2.1/lib/libqwt.so
And it generates:
-- Build Ruby bindings: QtRuby;QtScript;QtTest;QtUiTools;QtWebKit
-- Skip Ruby bindings: Akonadi;KHTML;KIO;KTextEditor;Korundum;KrossRuby;Nepomuk;Okular;Phonon;Plasma;QScintilla;Qwt;Solid;Soprano
Other Resources :
Link for my RubyForge forum post.
source
share