k9b
k9b

Reputation: 1493

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: <?xml version="1.0" encoding="UTF-8"?>

3.Delete the whitespace on the top of the file.

4.Modify this line of code : <ui version="4.0"> to look like this <ui version="4.0" language="jambi"> This line should be at the top of the file.

5.Modify the file extension to be .jui

after this, im stuck on how to turn my .jui file into a .java file, or simply run the file from another .java file (i use eclipse), and reference the objects (like textfields and buttons) that are in my .jui file.

Does anyone know of a tutorial showing how to do this? I cannot find one. Any help would really be appreciated.

Thanks!

Upvotes: 2

Views: 2347

Answers (1)

Jacob Schoen
Jacob Schoen

Reputation: 14212

While I have no real experience with qt-designer or qt-jambi for that matter, there is a short tutorial I found here that seems to have some useful information. Based on the OP's comment all he had to do was copy the .jui file into the folder with the juic.exe and then run it from command line.

Upvotes: 2

Related Questions