Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kitech/ruby-jit-qt
A Qt5 binding for Ruby language. Using clang/llvm JIT engine. (stalled)
https://github.com/kitech/ruby-jit-qt
Last synced: 20 days ago
JSON representation
A Qt5 binding for Ruby language. Using clang/llvm JIT engine. (stalled)
- Host: GitHub
- URL: https://github.com/kitech/ruby-jit-qt
- Owner: kitech
- Created: 2014-10-31T10:59:21.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-02T14:51:34.000Z (over 7 years ago)
- Last Synced: 2023-03-12T22:52:34.107Z (almost 2 years ago)
- Language: C++
- Homepage:
- Size: 780 KB
- Stars: 13
- Watchers: 5
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- Changelog: ChangeLog
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/kitech/ruby-jit-qt.svg?branch=for3.7)](https://travis-ci.org/kitech/ruby-jit-qt)
A Qt5 binding for Ruby language. Using clang/llvm JIT engine.
###Why new Qt5 binding for Ruby
Though it Qt 5.4 now, qtbinding still not support Qt5.
And so the origin kdebindings-qtruby and kdebindings-smokeqt projects.###Features
Qt5+
Bidirector Singal/Slot between Ruby and Qt
Support uic/rcc.
Easy keep update to version by version###Examples
######widget and object
require 'Qt5'
a = Qt5::QApplication.new(ARGV.count, ARGV)
w = Qt5::QPushButton.new("it's a push button")
w.show
a.exec#####core class
require 'Qt5'
s = Qt5::QString.new
s.append("abcdefg")
puts 'len=' + s.length.to_s###Install
git clone [email protected]:kitech/ruby-jit-qt.git
cd ruby-jit-qt
tar xvf /path/to/llvm-3.7.0.src.tar.xz
tar xvf /path/to/cfe-3.7.0.src.tar.xz
mv -v cfe-3.7.0.src llvm-3.7.0.src/tools/clang
cmake .
make###Supported Modules
QtCore
QtGui
QtWidgets
QtNetwork
... more later###TechStack
clang/llvm/IR/JIT
Ruby C API
Qt5
C++11/C++14/C++1y