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
1
vote
0 answers

Using JOGL with QtJambi

I’m trying to use JOGL with QtJambi. I’m using code I found in tutorials (some of them are very old) and forums but nothing is displayed. The QGLWidget initialization prevents the window to be displayed. I have no error in the console. The program…
Suisei
  • 46
  • 5
1
vote
1 answer

QTJambi and Webkit, problems with transparent background

I have a very persistent problem with QTJambi and Webkit. Here is what I want to do. I want to load a web interface coded in an HTML file (it works), put some interactions between Javascript and Java (it works too), display the web interface with…
Suisei
  • 46
  • 5
1
vote
0 answers

QT's QWebView widget not accessible to screen readers

I created this very simple QT Jambi application. It loads google. Based on the examples I found regarding QWebView, the program should run correctly. package qtweb; import com.trolltech.qt.core.QUrl; import com.trolltech.qt.gui.QApplication; import…
lightning_missile
  • 2,821
  • 5
  • 30
  • 58
1
vote
1 answer

QPushButton remove space (Jambi)

how can i remove the gap/space for QPushButton? i'm looking at Windows 10 Calculator, which is: as you can see there is no space between button 7 and 8, and i try to do the same thing in Jambi, by set the space for QGridLayout and QPushButton like…
Bear
  • 550
  • 9
  • 25
1
vote
1 answer

Qt Jambi: Accessing the content of QNetworkReply

I'm having trouble accessing the content of QNetworkReply objects. Content appears to be empty or zero. According to the docs (translating from c++ to java) I think I've got this set up correctly, but to no avail. Additionally an "Unknown error" is…
Richard H
  • 38,037
  • 37
  • 111
  • 138
1
vote
1 answer

QT Jambi HTML5 Video

Is it possible to use the HTML5
SamBeran
  • 1,944
  • 2
  • 17
  • 24
1
vote
2 answers

qtjambi - QApplication.initialize outside of main method

I want to use qt jambi to make screenshots. I use the integrated webkit browser and it works like a charm. The problem is: How can I initialize QApplication.initialize(args); outside of the main method. Since I want to make screenshots out of my…
Marc Giombetti
  • 819
  • 1
  • 8
  • 20
1
vote
1 answer

QtJambi 4.6.3.2 windows 7

I wrote a simple app using QtJambi in particular the com.trolltech.qt.webkit.QWebView class. On linux everything works fine, but when I run the Win32 version I got at…
Panciz
  • 2,183
  • 2
  • 30
  • 54
1
vote
2 answers

Qt application different icon theme

I've developed a text editor using Java and the QtJambi (Qt 4.6.3) library. The application has a QToolBar with some QActions with icons. My text editor can switch between two themes (dark and light). If i use black icons, the dark theme looks…
1
vote
2 answers

Does language bindings for Qt reimplement Qt modules in the specific language?

I wanted to know if the language bindings for Qt like Qt Jambi and PyQt have implemented all of the Qt modules or not. i.e. whether they are just a means of combining target languages (JAVA, python,...) with Qt C++ modules or the target languages…
Nejat
  • 31,784
  • 12
  • 106
  • 138
1
vote
1 answer

How to export my QtJambi project to .JAR file within Eclipse?

i am using Eclipse and i have a QtJambi project which i would like to export in a .JAR file. I have tryed several times it never worked. It worked for me on a Swing project, but with a QtJambi project, I dont know how to do it. Here are the…
Jonathan Rioux
  • 1,067
  • 2
  • 14
  • 30
1
vote
1 answer

Java QVariant equivalent?

Does java have a Data type that is similar to QVariant without using the java qt binding? I want to have a Map< String, QVariant> so that I can have different data types for each value in the container. Does JAVA have this? P.S. JAVA noob!
MWright
  • 1,681
  • 3
  • 19
  • 31
1
vote
1 answer

How to compile the qtjambi examples

I wanted to do something with qtjambi. I installed version 4.6.3. I can run the examples, but when I want to compile for example ArthurFrame, I get: ArthurFrame.java:47: package com.trolltech.qt.core does not exist When searching for help, it…
Cecil Westerhof
  • 177
  • 2
  • 13
1
vote
2 answers

Qt Jambi: QAbstractListModel not displaying in QListView

I've created an implementation of the QAbstractListModel class in Qt Jambi 4.4 and am finding that using the model with a QListView results in nothing being displayed, however using the model with a QTableView displays the data correctly. Below is…
neilprosser
  • 8,138
  • 2
  • 30
  • 30
1
vote
0 answers

Could not find class QWebElement

I'm using QtWebkit to develop a webapplication framework. Now I've begun to ude the DOM and I tryed to use the QWebElement. But when I tried to compile it brought the following error: symbol : class QWebElement location: class test …