2

Does anyone know where I can check out the latest source code of http://techbase.kde.org/Development/Languages/Ruby and how I can build it on Windows?

I would like to build the latest version against Qt 4.8

4

3 に答える 3

2

qtbindingsgemとしてリリースされた Ruby 用の Qt バインディングのバイナリが既にあると思います。

RubyGems:

http://rubygems.org/gems/qtbindings

ソース リポジトリ:

https://github.com/ryanmelt/qtbindings

ソースでは、それを構築するための要件もカバーしています。

それが役立つことを願っています。

于 2012-03-09T20:11:42.623 に答える
1

Qtbindingsのインストールは迅速かつ簡単です。

C:\Users\somebody>gem install qtbindings

Fetching: qtbindings-qt-4.8.6-x86-mingw32.gem (100%)
Successfully installed qtbindings-qt-4.8.6-x86-mingw32
Fetching: qtbindings-4.8.6.2-x86-mingw32.gem (100%)
Successfully installed qtbindings-4.8.6.2-x86-mingw32
Parsing documentation for qtbindings-qt-4.8.6-x86-mingw32
Installing ri documentation for qtbindings-qt-4.8.6-x86-mingw32
Parsing documentation for qtbindings-4.8.6.2-x86-mingw32
Installing ri documentation for qtbindings-4.8.6.2-x86-mingw32
Done installing documentation for qtbindings-qt, qtbindings after 4 seconds
2 gems installed

C:\Users\somebody>

これは、ruby が既にインストールされていることを前提としています。Rubyインストーラーがそれを省略した場合に備えて、最初にrubyバイナリへのパスを設定する必要があるかもしれないことに注意してください。これは、インストールによって異なります。やみくもにコピーして貼り付けないでください。

set PATH=C:\Ruby22\bin;%PATH%
于 2016-01-14T09:08:59.260 に答える
0

@bogl で報告されているように、この回答は古くなっています。

qtruby の新しいリポジトリはhttps://projects.kde.org/projects/kde/kdebindings/ruby/qtruby/repository (Korundum の場合: https://projects.kde.org/projects/kde/kdebindings/ruby/korundum) /リポジトリ)

于 2013-03-26T18:14:03.507 に答える