Hi everyone,
I have just uploaded a new Gem package (qt_connect) with the aim to
provide a uniform Qt API for both Ruby and JRuby platforms. The Gem
provides JRuby bindings to the Qt Jambi Java library with an (optional)
extension to provide backward compatibility with existing Qt Ruby
programs.
The same Gem package provides for Qt Ruby programs a QtJambi inspired
interface to the Signals/Slots system without the need to use C++
signatures.
On Thu, May 17, 2012 at 12:09 PM, Charles Oliver N. [email protected] wrote:
provides JRuby bindings to the Qt Jambi Java library with an (optional)
developing application software with a graphical user interface)
Sounds nice. is QtJambi being actively maintained? I recall that a
while ago Nokia’s site said it had been discontinued, at least as a
corporate project.
I am trying to get oracle blob data out of an oracle table. I can do
simple sql selects of a table that has the following schema.
CREATE TABLE test_blob (
id NUMBER(15)
, image_name VARCHAR2(1000)
, image BLOB
, timestamp DATE
);
using the code below. But I do not have a clue how I would pull the
blob data out. I tried hacking some Java directly in without much luck
and it looked really out of place.
Sounds nice. is QtJambi being actively maintained? I recall that a
while ago Nokia’s site said it had been discontinued, at least as a
corporate project.
I’m not sure (but I don’t think so).
Also it seems that Cees has cross-posted its announce on several lists
which he doesn’t follows.
For some more answer on this subject, see the qtbinding list at:
using the code below. But I do not have a clue how I would pull the
blob data out. I tried hacking some Java directly in without much luck
and it looked really out of place.
Does anyone have any examples of how to do this?
yes. I would advise using a ORM instead of doing it all by hand…
DriverManager.registerDriver oradriver
feedbacks:
using a prepared statement which is constant (not ‘?’ as potential
argument) is not needed here. A simple statement would do…
with your code, you’ll be getting strings, not binary content.
Sounds nice. is QtJambi being actively maintained? I recall that a
while ago Nokia’s site said it had been discontinued, at least as a
corporate project.
I’m not sure (but I don’t think so).
Also it seems that Cees has cross-posted its announce on several lists
which he doesn’t follows.
For some more answer on this subject, see the qtbinding list at:
There is a discussion about merging ruby API between qtjambi jruby
bindings
and native Qt ruby qtbindings (if I understand)…
– Maurice
Sorry, my fault. I thought this thread had changed to a different
subject, but I overlooked the above question.
Nokia indeed stopped supporting QtJambi, but turned it into a community
project, which is reasonably active (see http://qt-jambi.org/). For
all platforms a 4.7 version is available and work is progressing on 4.8
see The Qt Project
The qtbindings Ruby gem is based on Qt 4.6.3
I did cross-post on the QT Developer Network Language Bindings Forum
(with no replies) and on the [email protected] forum (see the above
link with a reply from Richard Dale, who wrote the original Ruby
bindings, and my response).