Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Fred L.
RE: Qt4-QtRuby-2.1.0 with RubyInstaller.. ?? [ reply ]  
2010-09-21 20:01
thanks for the answer and the link...

By: Nico Forlano
RE: Qt4-QtRuby-2.1.0 with RubyInstaller.. ?? [ reply ]  
2010-09-21 09:22
Hi,

the gem only works with Ruby 1.8.x:
http://rubyforge.org/forum/forum.php?thread_id=47457&forum_id=722

I don't know any other way besides the gem that works on windows.

By: Fred L.
RE: Qt4-QtRuby-2.1.0 with RubyInstaller.. ?? [ reply ]  
2010-09-21 05:38
me again, sorry...
just to let you know that there is a problem (for Windows) in the 'qt4-qtruby-2.1.0.tar.gz' source file.
there are two same files in the same directory :
"FindRuby.cmake" & "FindRUBY.cmake".
on Windows those files are the same, despite the different case. so when I extract the source I can only keep one (or have to extract twice in two different directories, just to got the second file...)

By: Fred L.
Qt4-QtRuby-2.1.0 with RubyInstaller.. ?? [ reply ]  
2010-09-20 20:24
Hello, I'm a total beginner with Qt and nearly the same with Ruby...
I'm using the last version (1.9.2-p0) from the 'RubyInstaller for Windows' (http://rubyinstaller.org/), with the last DevKit as well (MSYS/MinGW based).
I tried to install QtRuby4 Gem but got the Error :

-------------------
ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
C:\Ruby192>gem install qt4ruby
ERROR: Could not find a valid gem 'qt4ruby' (>= 0) in any repository
C:\Ruby192>gem install qtruby4
ERROR: Could not find a valid gem 'qtruby4' (>= 0), here is why:
Found qtruby4 (2.1.0), but was for platform mswin32
---------------------------

the LGPL Qt Windows SDK is based on MinGW, so why no MinGW qtruby4 Gem..??!

I got a look at the qtruby4 tar source, but it's really not clear for a beginner because it seems to some parts not relative to QtRuby in it, there's no docs or explanations and the changelog is outdated.

can someone give me a little help or point me in the good direction to be able to use Qt with Ruby or should I better choose another GUI toolkit to begin with Ruby..?

thanks a lot..
Fred