# Ruby 1.9 and qt 4.5

**URL:** <https://www.ruby-forum.com/t/ruby-1-9-and-qt-4-5/174010>\
**Category:** Ruby\
**Created:** [August 19, 2009, 11:46am UTC](https://www.ruby-forum.com/t/ruby-1-9-and-qt-4-5/174010 "2009-08-19T11:46:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![artbot](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b19c9b/32.png) [@artbot](https://www.ruby-forum.com/u/artbot)\
**Post date:** [August 19, 2009, 11:46am UTC](https://www.ruby-forum.com/t/ruby-1-9-and-qt-4-5/174010/1 "2009-08-19T11:46:02Z")

</div>

hi,

i would like to install ruby 1.9 and qt 4.5 on an windows xp (yes, i  
usually also prefer  
linux, but unfortunately i need this for my job … ) box, but didn’t  
find any sites with  
installation packages (i did succeed installing qt 4.3 for ruby 1.8,  
but this version has some bugs in the qgraphisview module, and i would  
also like to switch to ruby 1.9 in the mid term).

i would also prefer an installation on an usb memory stick, so that i  
can use it on different machines without messing up the particular  
system.

any help is appreciated

---

<div class="post-metadata">

**Author:** ![artbot](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b19c9b/32.png) [@artbot](https://www.ruby-forum.com/u/artbot)\
**Post date:** [August 19, 2009, 1:58pm UTC](https://www.ruby-forum.com/t/ruby-1-9-and-qt-4-5/174010/2 "2009-08-19T13:58:20Z")

</div>

> i would like to install ruby 1.9 and qt 4.5 on an windows xp (yes, i  
> usually also prefer  
> linux, but unfortunately i need this for my job … ) box, but didn’t  
> find any sites with  
> installation packages (i did succeed installing qt 4.3 for ruby 1.8,  
> but this version has some bugs in the qgraphisview module, and i would  
> also like to switch to ruby 1.9 in the mid term).

Might be hairy. The best bet would be to use new mingw version with the  
devkit.

> **[RubyInstaller for Windows](https://rubyinstaller.org/)**
>
> The easy way to install Ruby on Windows This is a self-contained Windows-based installer that includes the Ruby language, an execution environment, important...

> **[Downloads](https://rubyinstaller.org/downloads/)**
>
> The easy way to install Ruby on Windows This is a self-contained Windows-based installer that includes the Ruby language, an execution environment, important...

> **[ruby 1.9 one click installer](http://programming-gone-awry.blogspot.com/2009/05/ruby-19-one-click-installer.html)**
>
> Here's how to get a pretty easy working 1.9/1.8.6 mingw (from my post to ruby installers list) for the files at http://rubyinstaller.org/dow...

and see if you can get it to compile…I guess.  
You could also ask at the ruby installer group.  
[http://groups.google.com/group/rubyinstaller](http://groups.google.com/group/rubyinstaller)  
GL.  
-r

---

<div class="post-metadata">

**Author:** ![artbot](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b19c9b/32.png) [@artbot](https://www.ruby-forum.com/u/artbot)\
**Post date:** [August 19, 2009, 3:00pm UTC](https://www.ruby-forum.com/t/ruby-1-9-and-qt-4-5/174010/3 "2009-08-19T15:00:59Z")

</div>

On Aug 19, 1:57 pm, Roger P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> You could also ask at the ruby installer group.[http://groups.google.com/group/rubyinstaller](http://groups.google.com/group/rubyinstaller)  
> GL.  
> -r

thanx so far for the links, i’ve started a post on the installer list,  
anyway further hints are welcome

---

<div class="post-metadata">

**Author:** ![artbot](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b19c9b/32.png) [@artbot](https://www.ruby-forum.com/u/artbot)\
**Post date:** [August 20, 2009, 5:15pm UTC](https://www.ruby-forum.com/t/ruby-1-9-and-qt-4-5/174010/4 "2009-08-20T17:15:39Z")

</div>

installing ruby 1.9.1 with devkit is really simple, the rubyinstaller  
site can definitely be recommeded

but i’ve no idea how to proceed on windows with the sources in

qt4-qtruby-2.0.3.tgz

# Use this file to build a Qt only version of QtRuby.

# 

# 1. Copy this file to ./CMakeLists.txt

# 

# 2. Copy files neede by cmake from …/kdelibs/ to ./cmake/modules/:

# 

# cp …/kdelibs/cmake/modules/FindQt4.cmake ./cmake/

modules/

# cp …/kdelibs/cmake/modules/FindRUBY.cmake ./cmake/

modules/

# cp …/kdelibs/cmake/modules/MacroOptionalFindPackage.cmake ./cmake/

modules/

# cp …/kdelibs/cmake/modules/MacroPushRequiredVars.cmake ./cmake/

modules/

but there is no …/ here ☹

anyway, i think the cmake file are tuned for linux only, but who  
knows …

the only way to get qt running on windows seems to be from

[http://vision.eng.shu.ac.uk/mmvlwiki/index.php/Qt4-QtRuby\_installer\_for\_Microsoft\_Windows](http://vision.eng.shu.ac.uk/mmvlwiki/index.php/Qt4-QtRuby_installer_for_Microsoft_Windows)

but they only support qt 4.3 and an installation on a memory stick  
seems difficult, but maybe possible

---

<div class="post-metadata">

**Author:** ![artbot](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b19c9b/32.png) [@artbot](https://www.ruby-forum.com/u/artbot)\
**Post date:** [August 20, 2009, 5:21pm UTC](https://www.ruby-forum.com/t/ruby-1-9-and-qt-4-5/174010/5 "2009-08-20T17:21:30Z")

</div>

installing ruby 1.9.1 with devkit is really simple …

but i’ve no idea how to proceed on windows with the sources in

qt4-qtruby-2.0.3.tgz

# Use this file to build a Qt only version of QtRuby.

# 

# 1. Copy this file to ./CMakeLists.txt

# 

# 2. Copy files neede by cmake from …/kdelibs/ to ./cmake/modules/:

# 

# cp …/kdelibs/cmake/modules/FindQt4.cmake ./cmake/

modules/

# cp …/kdelibs/cmake/modules/FindRUBY.cmake ./cmake/

modules/

# cp …/kdelibs/cmake/modules/MacroOptionalFindPackage.cmake ./cmake/

modules/

# cp …/kdelibs/cmake/modules/MacroPushRequiredVars.cmake ./cmake/

modules/

but there is no …/ here ☹

anyway, i think the cmake files are tuned for linux only, but who  
knows …

the only way to get qt running on windows seems to be from

[http://vision.eng.shu.ac.uk/mmvlwiki/index.php/Qt4-QtRuby\_installer\_f](http://vision.eng.shu.ac.uk/mmvlwiki/index.php/Qt4-QtRuby_installer_f)…

but they only support qt 4.3 and an installation on a memory stick  
seems difficult, but maybe possible
