28
Okt
2008

Kombinieren von JRuby und QT Jambi

require 'java'
require '/opt/qtjambi/qtjambi-4.4.3_01.jar'
require '/opt/qtjambi/qtjambi-linux32-gcc-4.4.3_01.jar'

module Gui
include_package "com.trolltech.qt.gui"
end

app = Gui::QApplication.new([""].to_java(:String))
button = Gui::QPushButton.new("Hello")
button.show
button.clicked.connect(app, "aboutQt()")
Gui::QApplication.exec
logo

Random Thoughts and Links

Banner

User Status

Du bist nicht angemeldet.

Aktuelle Beiträge

Upgrade HTC Hero to 2.1...
Einfachste Anleitung: http://andreas- lehr.com/blog/archives/229 -T-Mobile-HTC-Hero-unlock. html Kurze...
randomike - 4. Mai, 13:54
Karel Gott ist ein Charaktertyp...
Karel Gott ist ein Charaktertyp mit Humor. Atheismus...
Seba96 - 27. Feb, 17:14
Karel Gott
Atheist Bus Campaign Austria
randomike - 19. Jul, 13:09
Vote for "install cryptsetup...
randomike - 17. Jul, 17:43
Converting Seq[Option[Any]])...
First idea: seq.filter(_.isDefi ned).map(_.get) Second.. .
randomike - 17. Jul, 11:39

Links

RSS Box

News

Suche

 

Status

Online seit 6548 Tagen
Zuletzt aktualisiert: 17. Mai, 21:45

Credits

Web Counter-Modul