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
2
votes
1 answer

Qt-Jambi verbosity, particularly QtDynamicMetaObjectPrivate

When starting my QtJambi program, I get a lot of messages of this type on the console (stderr): QtDynamicMetaObjectPrivate::QtDynamicMetaObjectPrivate(0x7f75805bfe90) initialize q->d=0x7f75806786e0…
dhardy
  • 11,175
  • 7
  • 38
  • 46
2
votes
0 answers

QT Jambi on Mac installation fail

I tried installing QT Jambi 4.7.0 on Mac but I got this error: Exception in thread "main" java.lang.ExceptionInInitializerError at com.trolltech.qt.QtJambiObject.(QtJambiObject.java:60) Caused by: java.lang.RuntimeException: Loading library…
jobukkit
  • 2,490
  • 8
  • 26
  • 41
2
votes
1 answer

Is it possible to use lupdate (QtLinguist) in a java project?

I need to do the internationalization of an existing Java project. I am already using Qt Linguist in a C++ project using Qt and I would like (and have) to keep the same process for my Java project, instead of using the java RessourceBundles. The…
rkohser
  • 139
  • 3
  • 9
2
votes
1 answer

Java client-server application using MySQL and Qtjambi: which licence?

I developed a client-server application in Java. I want to distribute the client side using a zip file containing a jar for my program and Qtjambi jars (LGPL) placed in a different directory. On the server side I have a servlet that communicates…
Rossella
  • 179
  • 10
2
votes
1 answer

Installing QT Jambi on a Windows 64 bit

I'm trying to install QTJambi on my computer, win7 64 bit. It is not duplicate to: Trouble installing QT Jambi on a Windows 64 bit system since my problem is not loading the 64 JVM and I have setted JAVA_HOME to point to the 32 bit JDK that is in…
sara
  • 3,824
  • 9
  • 43
  • 71
1
vote
3 answers

Calling Qapplication.exec multiple times in loop is possible., if yes how?

calling Qapplication.exec in a loop is not giving proper results. can somebody give me some other idea to do the below thing..thanks something like this public static void main(String args[]) { QNetworkProxy proxy = new…
Anjna
  • 11
  • 2
1
vote
1 answer

QPixmap hover effect?

I need to add a "hover effect" to some QPixmaps added to a QGraphicsScene. I would like to "highlight" my QPixmap by filling it with a halfway transparent white color when the user hovers over it. If at all possible I want to avoid using the…
Benjamin
  • 541
  • 1
  • 9
  • 17
1
vote
1 answer

Using Maven with QT Jambi

I'm just getting started with QT Jambi and I have some problems getting the Maven-plugin to work. I get the following error message: [ERROR] Failed to execute goal net.sf.qtjambi:qtjambi-maven-plugin:4.6.3.1:generate (default-cli) on project…
Yrlec
  • 3,401
  • 6
  • 39
  • 75
1
vote
1 answer

Qt: how do I highlight duplicated items in QListWidget? (qtjambi)

I need to implement a mechanism of highlighting duplicated values. Values are edited through delegate depending on the value type (string - line edit, long and big decimal - spin boxes). Currently, I implemented this feature with help of additional…
Andrey Atapin
  • 7,745
  • 3
  • 28
  • 34
1
vote
1 answer

Qt jambi Eclipse integration problem

I've just install the libqtjambi 4.7.2 by PPA in Ubuntu Natty 11.04. When I turned into integration with Eclipse it asked me to give the jambi installation path. But with apt-get I have only /usr/share/java but it doesn't work. Any…
darkjh
  • 2,821
  • 7
  • 35
  • 43
1
vote
1 answer

QtWebkit multithreading

I am working on a project to render text as images using QT-Jambi. The webkit renders the HTML and generates the image. While running the code with a single thread there are no issue but when I run the program using multiple threads(5-6) with each…
1
vote
2 answers

Change QCheckBox Style in Qt Jambi

I am currently using Eclipse 3.5.2 and Qt Jambi 4.7.2 in Ubuntu 11.04 Natty Narwhal I am trying to use stylesheets to customize my QCheckBox. I have found examples for C++ but I cannot find equivalents for Java. I am wanting to do something similar…
Tiffany
  • 45
  • 1
  • 6
1
vote
0 answers

QtJambi5+ Building Process

I am trying to build QtJambi5+ from source but I am completely stuck. It seems that something fails after several hours of compiling... I've got the sources files from here: https://github.com/OmixVisualization/qtjambi5/wiki/How-to-build-QtJambi I…
Ramosfus
  • 11
  • 1
1
vote
1 answer

Convert WebView.evluateJavascript()'s return to QWebElement (qt-jambi)

The following javascript is to be executed on google.com: String js = "document.evaluate(\"//form[@name='f']\", document, null, XPathResult.ANY_TYPE, null);"; Now when the form is found, I would like to have it as a QWebElement back in Qt.…
Nick
  • 11
  • 1
1
vote
4 answers

How do I make controls autosizing in Qt designer?

I'm using Qt Jambi 4.4 for a project I'm working on (and designing the windows in the Qt Designer eclipse plugin). One of the windows I'd like to use is a preview window which is basically just a window with a QWebView on it. How can I make it so…
Jason Baker
  • 192,085
  • 135
  • 376
  • 510