Questions tagged [qt-jambi]

Qt Jambi is a Java binding of the cross-platform application framework Qt. Qt Jambi is the Qt library made available to Java.

Background

Qt Jambi was first introduced on March, 2006. Since then it was maintained by Nokia. Official support for Qt Jambi by Nokia ended in March 2010, and the project is now maintained by an open source community.

More Information

Core Features

  1. Layout management
  2. Drag and drop
  3. Paint system
  4. Threading in Qt Jambi
  5. Qt Jambi supports Linux and other flavours of Unix, as well as Mac OS X and Microsoft Windows.

Qt Jambi hello world

package org.wikipedia.qt;

import com.trolltech.qt.gui.*;

public class HelloWorld {
    public static void main(String args[]) {
        QApplication.initialize(args);

        QPushButton hello = new QPushButton("Hello World!");
        hello.show();

        QApplication.exec();
    }
}

Qt Jambi Examples

Qt Jambi Examples from trolltech

Qt Jambi Documantation

See documantation by trolltech here

102 questions
3
votes
2 answers

How to mix C++ Qt objects and Qt Jambi objects

I'm trying to combine some existing Qt code written in C++ with some code written in Java using Qt Jambi, but I'm not quite sure how to do it. I'm basically trying to acieve two things: Pass a QObject from C++ to Java using JNI Pass a Qt Jambi…
user21037
3
votes
1 answer

Converting simple QWebView example to Java

How would you convert the following simple QT example in C using the QWebView widget to Java (QtJambi): int main(int argc, char *argv[]) { QApplication app(argc, argv); QWebView view; view.load(QUrl("http://www.trolltech.com/")); …
Dexygen
  • 12,287
  • 13
  • 80
  • 147
3
votes
1 answer

How to embed QWebView (QtJambi) on Java Swing Application?

Is it possible to use QWebView to render HTML5 pages inside a Java Swing Application across Windows, Mac and Linux? Basically I would like to have something like http://qupzilla.com but for Java.
KJW
  • 15,035
  • 47
  • 137
  • 243
2
votes
0 answers

Is there Binding functionality for Qt (or QtJambi) similar to WPF Binding?

Speaking about WPF Binding compared to Qt, did anybody tried to achieve the functionality that in WPF achived by the following: Here are: Items collection (member of…
vladimir
  • 2,635
  • 3
  • 23
  • 26
2
votes
1 answer

Turning a .jui file into a .java file, qt-jamba

I use this method (found on another question) to turn my .ui file into a .jui file. 1.Open the .ui file using a text editor (I used gedit) 2.Remove the first line of the file which looks something like this:
k9b
  • 1,457
  • 4
  • 24
  • 54
2
votes
0 answers

Qt Jambi, Java UI Editor, Displaying a picture?

I am using QT Jambi to make the homepage for my java program, but currently I cannot figure out how to put a picture on the homescreen. Currently, I have a QTGraphicsView and I have created a resource with my picture in it. When I right click on the…
k9b
  • 1,457
  • 4
  • 24
  • 54
2
votes
0 answers

Stuck at converting/implementing Qt (.ui) files to Qtjambi(.jui) files

Edit 01.02.2012: FWIW: 4.7.0 linux packages are broken AFAIK, they can be fixed or 4.6 packages used instead... No need to use custom Qt for Jambi – Smar 2 days ago Thanks to SMAR, I was finally able to resolve this issue by…
Michael Kargl
  • 662
  • 10
  • 21
2
votes
1 answer

Qt Jambi eclipse integration error on Windows 64 bits

I can't seem to figure out how to properly integrate Qt Jambi to eclipse. Here is what I did: I installed the version of the toolkit for Windows 64 bits; I copied the required integration plugins in {ECLIPSE_PATH}\plugins; I launched eclipse and…
Axel
  • 867
  • 1
  • 8
  • 24
2
votes
2 answers

How to convert .ui file to .jui file?

Does anybody know how to convert a .ui file generated by Qt creator into a .jui file? The documentation says use Qt Generator, but I can't find how to download Qt Generator. Any help would be greatly appreciated. -nt
nite
  • 763
  • 2
  • 9
  • 16
2
votes
2 answers

Is it possible to use Jambi to make fully native feeling GUIs?

Applications made with Qt in C++ look like native apps on Windows, Linux, and Mac OS X. I'm trying to accomplish the same thing with Jambi. Is this possible? I don't think there are too many apps written with Jambi, which makes it a bit difficult to…
user377628
2
votes
1 answer

QtJambi and Jython

I'm trying to get QtJambi and Jython to play nice together. Here's what I'm doing as a test: >jython -Dpython.path=./qtjambi-4.5.2_01.jar:./qtjambi-linux64-gcc-4.5.2_01.jar:. Jython 2.2.1 on java1.6.0_18 Type "copyright", "credits" or "license" for…
Timothy Baldridge
  • 10,455
  • 1
  • 44
  • 80
2
votes
1 answer

Using Particles (the amazing feauture of Qt) through Qt Jambi

The title states it all; I'm trying to use the Particles feature available in Qt through Qt Jambi Libraries. I know that to use Particles in Qt you have to import it first using something like: import QtQuick.Particles 2.0. But whenever I try to…
CodeMaster
  • 141
  • 1
  • 12
2
votes
1 answer

QtJambi example not executing

I'm trying to compile and run the tooltip code from this tutorial. I obtained QtJambi from my package manager (the package is qtjambi-beta from AUR), which installed it into the directory /opt/qtjambi-beta/. In particular, the qtjambi-4.7.0.jar file…
Koz Ross
  • 3,040
  • 2
  • 24
  • 44
2
votes
1 answer

Get OnClick Pixmap coordinates Java / QT / QT Jambi

I'm a new java / qt programmer and i'm trying to build a gui using java and qt jambi. I put a pixmap inside a label and it works good, but, now i need to get the image coordinates when i click on the pixmap inside the label. I don't need the QWidget…
user2581650
2
votes
2 answers

Qt Jambi vs JOGL for java OpenGL development?

I'm planning on writing a simple application in Java which has a basic UI with a section of OpenGL graphics. In addition to this some kind of network access is required. Which one of these libraries should I use? What are the drawbacks and benefits…
Jonas Granvik
  • 935
  • 7
  • 13