This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Tue Dec 23 07:11:26 -0800 2008 | |
| |
LICENSE | Tue Jan 06 02:34:39 -0800 2009 | |
| |
README.textile | Tue Jan 06 03:39:35 -0800 2009 | |
| |
Rakefile | Tue Dec 23 08:22:47 -0800 2008 | |
| |
TODO | Tue Dec 23 08:22:47 -0800 2008 | |
| |
bin/ | Tue Jan 06 02:16:36 -0800 2009 | |
| |
build.xml | Tue Aug 05 06:03:16 -0700 2008 | |
| |
build/ | Tue Aug 05 06:03:16 -0700 2008 | |
| |
examples/ | Tue Dec 23 08:22:47 -0800 2008 | |
| |
lib/ | Tue Dec 23 08:22:47 -0800 2008 | |
| |
org/ | Wed Aug 06 09:37:19 -0700 2008 | |
| |
spec/ | Tue Dec 23 07:11:26 -0800 2008 | |
| |
tasks/ | Tue Jan 06 02:34:39 -0800 2009 |
README.textile
Qt::JRuby
Build crossplatform applications with Qt and Ruby.
Create a new application
NB: Java must be installed on your system.
gem install thor
thor install http://qtjruby.org/qtjruby.thor
thor qtjruby:app:create myapp
cd myapp
java -jar lib/jruby-complete-$VERSION.jar main.rb
Installation from sources
Download Qt Jambi for your platform. Put qtjambi-$VERSION.jar and qtjambi-$PLATFORM-$VERSION.jar into $JRUBY_HOME/lib folder. Then :
jruby -S gem install extlib
git clone git://github.com/nmerouze/qtjruby-core.git
cd /path/to/qtjruby-core
jruby -S rake install
Run
jruby -S qtjruby example4.rb
Add -J-XstartOnFirstThread option if you’re under Mac OS X.
Example
Qt::Application.initialize(ARGV)
hello = Qt::PushButton.new 'Hello World!'
hello.show
Qt::Application.exec
Where does it work ?
Tested under:
- Mac OS X Tiger & Leopard
- Ubuntu 8.10 with Java 6 & OpenJDK
- Windows XP SP3
Links
- Qt::JRuby : http://qtjruby.org & http://qtjruby.googlecode.com
- Qt::JRuby sources : http://github.com/nmerouze/qtjruby-core
- Qt Jambi Documentation : http://doc.trolltech.com
License and support
© 2008-2009 Nicolas Mérouze, under an MIT licence. http://www.opensource.org/licenses/mit-license.php
Please leave any bugs or feedback at nicolas.merouze [at] gmail [dot] com







