Trolltech Home | Qt-jambi-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-jambi-interest Archive, April 2007
juic-compiler


Message 1 in thread

Hello

as far as i concern the juic compiler of the 1.0 beta version a little 
bit buggy. That means it's impossible for me to get a "Ui_dialog.java" 
file without errors.

I thought about writing a workaround to change all the c++ deklarations 
in correct java code. But in some cases the juic compiler runs in an 
endless loop, so I have to kill him manually.

Is there any chance of getting a bugfixed version of the juic.exe (maybe 
before the next beta) ?

best greetings
Arne


Message 2 in thread

Hi, Arne.

Arne Stocker wrote:

> as far as i concern the juic compiler of the 1.0 beta version a little 
> bit buggy. That means it's impossible for me to get a "Ui_dialog.java" 
> file without errors.


Yes, I'm assuming this is mostly related to enums in the .jui file, is 
that correct? Hopefully this should already be fixed in our local version.

>
> I thought about writing a workaround to change all the c++ 
> deklarations in correct java code. But in some cases the juic compiler 
> runs in an endless loop, so I have to kill him manually.



This is a problem we haven't experienced so far. Do you happen to have 
examples of .jui files that causes this to occur? It would be very 
helpful to us to have a reproducable test case.

>
> Is there any chance of getting a bugfixed version of the juic.exe 
> (maybe before the next beta) ?


At the moment I am not completely sure whether the new version of juic 
is completely compatible with the released package. I will have to test 
this and get back to you.

-- Eskil


Message 3 in thread

> This is a problem we haven't experienced so far. Do you happen to have examples of .jui files that causes this to occur? It would be very helpful to us to have a reproducable test case. 

Hi Eskil

I think I can.

It works like that. I changed the '*.jui' File in the qt-jambi - 
designer (not in the integratet eclipse designer, because it's a little 
bit buggy too). After saving I start refresh on Eclipse, that causes the 
*.juic Compile to start (and never ends).

The same error occurs, when I change the *.jui File in the eclipse 
texteditor manually (put and remove a blank) and save the changes within 
eclipse.

best greetings
Arne

<ui version="4.0" >
<ui version="4.0" >
 <class>JambiInfoDialog</class>
 <widget class="QDialog" name="JambiInfoDialog" >
  <property name="geometry" >
   <rect>
    <x>0</x>
    <y>0</y>
    <width>418</width>
    <height>297</height>
   </rect>
  </property>
  <layout class="QVBoxLayout" >
   <item>
    <widget class="QLabel" name="TextLabel" >
     <property name="sizePolicy" >
      <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="minimumSize" >
      <size>
       <width>400</width>
       <height>90</height>
      </size>
     </property>
     <property name="font" >
      <font>
       <family>Times New Roman</family>
       <pointsize>33</pointsize>
       <weight>50</weight>
       <italic>false</italic>
       <bold>false</bold>
       <underline>false</underline>
       <strikeout>false</strikeout>
      </font>
     </property>
     <property name="layoutDirection" >
      <enum>Qt::LeftToRight</enum>
     </property>
     <property name="frameShape" >
      <enum>QFrame::NoFrame</enum>
     </property>
     <property name="frameShadow" >
      <enum>QFrame::Sunken</enum>
     </property>
     <property name="text" >
      <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Times New Roman'; font-size:33pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Georgia'; font-weight:600; font-style:italic;">&lt;span style=" color:#7b68ee;">A d v o l u x&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
     </property>
     <property name="textFormat" >
      <enum>Qt::RichText</enum>
     </property>
     <property name="scaledContents" >
      <bool>true</bool>
     </property>
     <property name="alignment" >
      <set>Qt::AlignCenter</set>
     </property>
    </widget>
   </item>
   <item>
    <spacer>
     <property name="orientation" >
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="sizeType" >
      <enum>QSizePolicy::Expanding</enum>
     </property>
     <property name="sizeHint" >
      <size>
       <width>415</width>
       <height>16</height>
      </size>
     </property>
    </spacer>
   </item>
   <item>
    <widget class="QStackedWidget" name="TextStack" >
     <property name="currentIndex" >
      <number>0</number>
     </property>
     <widget class="QWidget" name="FirstPage" >
      <layout class="QVBoxLayout" >
       <item>
        <spacer>
         <property name="orientation" >
          <enum>Qt::Vertical</enum>
         </property>
         <property name="sizeType" >
          <enum>QSizePolicy::Expanding</enum>
         </property>
         <property name="sizeHint" >
          <size>
           <width>21</width>
           <height>71</height>
          </size>
         </property>
        </spacer>
       </item>
       <item>
        <widget class="QLabel" name="textLabel1_2" >
         <property name="sizePolicy" >
          <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="text" >
          <string>&lt;p>Vielen Dank, dass Sie sich für die Arbeit mit advolux entschieden haben. &lt;/p>&lt;p>Bitte beachten Sie, dass das Programm urheberrechtlich geschützt ist und nur zusammen mit dem Abschluss einer Lizenzvereinbarung genutzt werden darf.&lt;/p></string>
         </property>
         <property name="wordWrap" >
          <bool>true</bool>
         </property>
        </widget>
       </item>
       <item>
        <spacer>
         <property name="orientation" >
          <enum>Qt::Vertical</enum>
         </property>
         <property name="sizeType" >
          <enum>QSizePolicy::Expanding</enum>
         </property>
         <property name="sizeHint" >
          <size>
           <width>20</width>
           <height>61</height>
          </size>
         </property>
        </spacer>
       </item>
       <item>
        <layout class="QHBoxLayout" >
         <property name="margin" >
          <number>0</number>
         </property>
         <item>
          <widget class="QLabel" name="TextDatum" >
           <property name="sizePolicy" >
            <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
           <property name="text" >
            <string>&lt;font size=3>Datum : 19.10.04&lt;/font></string>
           </property>
           <property name="alignment" >
            <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QLabel" name="TextVersion" >
           <property name="sizePolicy" >
            <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
           <property name="text" >
            <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;">&lt;span style=" font-size:medium;">Version  1.004&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
           </property>
           <property name="textFormat" >
            <enum>Qt::RichText</enum>
           </property>
           <property name="alignment" >
            <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set>
           </property>
           <property name="margin" >
            <number>1</number>
           </property>
          </widget>
         </item>
        </layout>
       </item>
      </layout>
     </widget>
     <widget class="QWidget" name="MiddlePae" >
      <layout class="QHBoxLayout" >
       <item>
        <widget class="QLabel" name="textLabel3" >
         <property name="text" >
          <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;ul style="-qt-list-indent: 1;">&lt;li style=" font-size:8pt;" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Programmentwicklung: &lt;/span>&lt;br />Rechtsanwalt Arne Stocker&lt;/li>
&lt;li style=" font-size:8pt;" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Handbuch: &lt;/span>&lt;br />Rechtsanwalt Jörg Schoof&lt;/li>
&lt;li style=" font-size:8pt;" style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Qualitätssicherung und Beratung: &lt;/span>&lt;br />Rechtsanwalt Detlef Jäger u. Dipl. Finanzwirt Rechtsanwalt Uwe Quast&lt;/li>&lt;/ul>&lt;/body>&lt;/html></string>
         </property>
         <property name="alignment" >
          <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
     <widget class="QWidget" name="LastPage" >
      <layout class="QHBoxLayout" >
       <item>
        <widget class="QLabel" name="textLabel2" >
         <property name="text" >
          <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;ul style="-qt-list-indent: 1;">&lt;li style=" font-size:8pt;" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Programmiersprache&lt;/span>:&lt;/li>
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:1; text-indent:1px; font-size:8pt;">Java Version 5 (Sun Microsystems)&lt;/p>
&lt;li style=" font-size:8pt;" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">User Interface:&lt;/span>&lt;br />QtJambi Java-Framework (Trolltech AG)&lt;/li>
&lt;li style=" font-size:8pt;" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Datenbank:&lt;/span> &lt;br />db4o (db4Objects, Inc.)&lt;/li>
&lt;li style=" font-size:8pt;" style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Entwicklungsumgebung&lt;/span>: &lt;br />Eclipse 3.1.2 (Eclipse Entwickler u.a.)&lt;/li>&lt;/ul>&lt;/body>&lt;/html></string>
         </property>
         <property name="textFormat" >
          <enum>Qt::RichText</enum>
         </property>
         <property name="scaledContents" >
          <bool>true</bool>
         </property>
         <property name="alignment" >
          <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
         </property>
         <property name="wordWrap" >
          <bool>true</bool>
         </property>
         <property name="indent" >
          <number>0</number>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
    </widget>
   </item>
   <item>
    <layout class="QHBoxLayout" >
     <property name="margin" >
      <number>0</number>
     </property>
     <item>
      <widget class="QLabel" name="LinkText" >
       <property name="sizePolicy" >
        <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="toolTip" >
        <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;">Link auf die Webseite von Advolux&lt;/p>&lt;/body>&lt;/html></string>
       </property>
       <property name="whatsThis" >
        <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Webseite von Advolux&lt;/span>&lt;/p>
&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;/p>
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Durch einen Klick auf diesen Link wird die Webseite von Advolux in Ihrem Standard - Browser geöffnet. &lt;/p>
&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;/p>
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" color:#ff7f50;">Für dieses Feature ist eine Internetverbindung erforderlich&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
       </property>
       <property name="text" >
        <string>&lt;a href="http://www.advolux.com";>www.advolux.com&lt;/a></string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="buttonOk" >
       <property name="minimumSize" >
        <size>
         <width>100</width>
         <height>28</height>
        </size>
       </property>
       <property name="windowTitle" >
        <string/>
       </property>
       <property name="toolTip" >
        <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Beendet diesen Dialog und geht zurück zum Programm&lt;/p>&lt;/body>&lt;/html></string>
       </property>
       <property name="whatsThis" >
        <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Beendet diesen Dialog und geht zurück zum Programm&lt;/p>&lt;/body>&lt;/html></string>
       </property>
       <property name="text" >
        <string>&amp;OK</string>
       </property>
       <property name="shortcut" >
        <string>Alt+O</string>
       </property>
       <property name="autoDefault" >
        <bool>true</bool>
       </property>
       <property name="default" >
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <layout class="QHBoxLayout" >
       <property name="margin" >
        <number>0</number>
       </property>
       <item>
        <spacer>
         <property name="orientation" >
          <enum>Qt::Horizontal</enum>
         </property>
         <property name="sizeHint" >
          <size>
           <width>40</width>
           <height>20</height>
          </size>
         </property>
        </spacer>
       </item>
       <item>
        <widget class="QToolButton" name="PrevButton" >
         <property name="minimumSize" >
          <size>
           <width>32</width>
           <height>32</height>
          </size>
         </property>
         <property name="toolTip" >
          <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Eine (Info) Seite zurück&lt;/p>&lt;/body>&lt;/html></string>
         </property>
         <property name="text" >
          <string>&lt;</string>
         </property>
         <property name="icon" >
          <iconset>icons/dreiecklinks22.png</iconset>
         </property>
         <property name="iconSize" >
          <size>
           <width>22</width>
           <height>22</height>
          </size>
         </property>
         <property name="autoRaise" >
          <bool>true</bool>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QToolButton" name="NextButton" >
         <property name="minimumSize" >
          <size>
           <width>32</width>
           <height>32</height>
          </size>
         </property>
         <property name="toolTip" >
          <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Eine (Info) Seite vor&lt;/p>&lt;/body>&lt;/html></string>
         </property>
         <property name="text" >
          <string>></string>
         </property>
         <property name="icon" >
          <iconset>icons/dreieckrechts22.png</iconset>
         </property>
         <property name="iconSize" >
          <size>
           <width>22</width>
           <height>22</height>
          </size>
         </property>
         <property name="autoRaise" >
          <bool>true</bool>
         </property>
        </widget>
       </item>
      </layout>
     </item>
    </layout>
   </item>
  </layout>
 </widget>
 <resources/>
 <connections/>
</ui>

Message 4 in thread

Hi, Arne.

Arne Stocker attached a .jui file containing:

>
><ui version="4.0" >
>  
>

This tag should actually read <ui version="4.0" language="jambi"> when 
Designer is started using the Jambi language plugin. The plugin also 
makes sure that enums etc. are formatted correctly. There are some 
special cases that are not handled by the juic version in the beta 
release, but the .jui file you attached seems to contain C++ syntax 
exclusively, which leads me to believe that you may be running Designer 
without the Jambi extensions? Could this be the problem? If so, 
rectifying this will fix a lot of/all of the problems you are having 
with juic.

When you have existing .ui file which needs converting to the new .jui 
format, you can use the Qt Jambi generator to help you. You need a copy 
of the Qt 4.3 headers, however.

1. Set your QTDIR environment variable to point to the installation of Qt.
2. Make a dummy header file called e.g. dummy.h which contains the 
following:
     #include <QtCore/QtCore>
     #include <QtGui/QtGui>
3. Make a dummy typesystem specification called e.g. dummy.txt that 
contains the following:
    <typesystem package="dummy" default-superclass="dummy">
        <load-typesystem 
name=":/trolltech/generator/typesystem_core.txt" generate="no" />
        <load-typesystem name=":/trolltech/generator/typesystem_gui.txt" 
generate="no" />
    </typesystem>
4. Rename your file to JambiInfoDialog.ui
5. Run the following command from the command line
       generator --convert-to-jui=JambiInfoDialog.ui dummy.h dummy.txt

This should create a file called JambiInfoDialog.jui which is the 
converted version of your .ui file. I have attached a converted version 
of the file you sent me. I believe the released version of juic should 
produce compilable code when run on this file.

In order to get the Jambi extensions into Designer, you need to set the 
QT_PLUGIN_PATH environment variable to "path/to/jambi/plugins". You also 
need to put the qtjambi.jar file in your CLASSPATH. This should work 
automatically if you start Designer using the designer.bat file which is 
located in the root of the Jambi package.

I hope this solves the issues you were having. If it does not, do not 
hesitate to let us know and we will help further.

-- Eskil


<ui version="4.0" language="jambi" >
<ui version="4.0" language="jambi" >
 <class>JambiInfoDialog</class>
 <widget class="QDialog" name="JambiInfoDialog" >
  <property name="geometry" >
   <rect>
    <x>0</x>
    <y>0</y>
    <width>418</width>
    <height>297</height>
   </rect>
  </property>
  <layout class="QVBoxLayout" >
   <item>
    <widget class="QLabel" name="TextLabel" >
     <property name="sizePolicy" >
      <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="minimumSize" >
      <size>
       <width>400</width>
       <height>90</height>
      </size>
     </property>
     <property name="font" >
      <font>
       <family>Times New Roman</family>
       <pointsize>33</pointsize>
       <weight>50</weight>
       <italic>false</italic>
       <bold>false</bold>
       <underline>false</underline>
       <strikeout>false</strikeout>
      </font>
     </property>
     <property name="layoutDirection" >
      <enum>com.trolltech.qt.core.Qt.LayoutDirection.LeftToRight</enum>
     </property>
     <property name="frameShape" >
      <enum>com.trolltech.qt.gui.QFrame.Shape.NoFrame</enum>
     </property>
     <property name="frameShadow" >
      <enum>com.trolltech.qt.gui.QFrame.Shadow.Sunken</enum>
     </property>
     <property name="text" >
      <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">

p, li { white-space: pre-wrap; }

&lt;/style>&lt;/head>&lt;body style=" font-family:'Times New Roman'; font-size:33pt; font-weight:400; font-style:normal;">

&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Georgia'; font-weight:600; font-style:italic;">&lt;span style=" color:#7b68ee;">A d v o l u x&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
     </property>
     <property name="textFormat" >
      <enum>com.trolltech.qt.core.Qt.TextFormat.RichText</enum>
     </property>
     <property name="scaledContents" >
      <bool>true</bool>
     </property>
     <property name="alignment" >
      <set>com.trolltech.qt.core.Qt.AlignmentFlag.AlignCenter</set>
     </property>
    </widget>
   </item>
   <item>
    <spacer>
     <property name="orientation" >
      <enum>com.trolltech.qt.core.Qt.Orientation.Horizontal</enum>
     </property>
     <property name="sizeType" >
      <enum>com.trolltech.qt.gui.QSizePolicy.Policy.Expanding</enum>
     </property>
     <property name="sizeHint" >
      <size>
       <width>415</width>
       <height>16</height>
      </size>
     </property>
    </spacer>
   </item>
   <item>
    <widget class="QStackedWidget" name="TextStack" >
     <property name="currentIndex" >
      <number>0</number>
     </property>
     <widget class="QWidget" name="FirstPage" >
      <layout class="QVBoxLayout" >
       <item>
        <spacer>
         <property name="orientation" >
          <enum>com.trolltech.qt.core.Qt.Orientation.Vertical</enum>
         </property>
         <property name="sizeType" >
          <enum>com.trolltech.qt.gui.QSizePolicy.Policy.Expanding</enum>
         </property>
         <property name="sizeHint" >
          <size>
           <width>21</width>
           <height>71</height>
          </size>
         </property>
        </spacer>
       </item>
       <item>
        <widget class="QLabel" name="textLabel1_2" >
         <property name="sizePolicy" >
          <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="text" >
          <string>&lt;p>Vielen Dank, dass Sie sich für die Arbeit mit advolux entschieden haben. &lt;/p>&lt;p>Bitte beachten Sie, dass das Programm urheberrechtlich geschützt ist und nur zusammen mit dem Abschluss einer Lizenzvereinbarung genutzt werden darf.&lt;/p></string>
         </property>
         <property name="wordWrap" >
          <bool>true</bool>
         </property>
        </widget>
       </item>
       <item>
        <spacer>
         <property name="orientation" >
          <enum>com.trolltech.qt.core.Qt.Orientation.Vertical</enum>
         </property>
         <property name="sizeType" >
          <enum>com.trolltech.qt.gui.QSizePolicy.Policy.Expanding</enum>
         </property>
         <property name="sizeHint" >
          <size>
           <width>20</width>
           <height>61</height>
          </size>
         </property>
        </spacer>
       </item>
       <item>
        <layout class="QHBoxLayout" >
         <property name="margin" >
          <number>0</number>
         </property>
         <item>
          <widget class="QLabel" name="TextDatum" >
           <property name="sizePolicy" >
            <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
           <property name="text" >
            <string>&lt;font size=3>Datum : 19.10.04&lt;/font></string>
           </property>
           <property name="alignment" >
            <set>com.trolltech.qt.core.Qt.AlignmentFlag.AlignBottom|com.trolltech.qt.core.Qt.AlignmentFlag.AlignLeft|com.trolltech.qt.core.Qt.AlignmentFlag.AlignLeft</set>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QLabel" name="TextVersion" >
           <property name="sizePolicy" >
            <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
           <property name="text" >
            <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">

p, li { white-space: pre-wrap; }

&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">

&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;">&lt;span style=" font-size:medium;">Version  1.004&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
           </property>
           <property name="textFormat" >
            <enum>com.trolltech.qt.core.Qt.TextFormat.RichText</enum>
           </property>
           <property name="alignment" >
            <set>com.trolltech.qt.core.Qt.AlignmentFlag.AlignBottom|com.trolltech.qt.core.Qt.AlignmentFlag.AlignRight|com.trolltech.qt.core.Qt.AlignmentFlag.AlignRight</set>
           </property>
           <property name="margin" >
            <number>1</number>
           </property>
          </widget>
         </item>
        </layout>
       </item>
      </layout>
     </widget>
     <widget class="QWidget" name="MiddlePae" >
      <layout class="QHBoxLayout" >
       <item>
        <widget class="QLabel" name="textLabel3" >
         <property name="text" >
          <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">

p, li { white-space: pre-wrap; }

&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">

&lt;ul style="-qt-list-indent: 1;">&lt;li style=" font-size:8pt;" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Programmentwicklung: &lt;/span>&lt;br />Rechtsanwalt Arne Stocker&lt;/li>

&lt;li style=" font-size:8pt;" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Handbuch: &lt;/span>&lt;br />Rechtsanwalt Jörg Schoof&lt;/li>

&lt;li style=" font-size:8pt;" style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Qualitätssicherung und Beratung: &lt;/span>&lt;br />Rechtsanwalt Detlef Jäger u. Dipl. Finanzwirt Rechtsanwalt Uwe Quast&lt;/li>&lt;/ul>&lt;/body>&lt;/html></string>
         </property>
         <property name="alignment" >
          <set>com.trolltech.qt.core.Qt.AlignmentFlag.AlignLeft|com.trolltech.qt.core.Qt.AlignmentFlag.AlignLeft|com.trolltech.qt.core.Qt.AlignmentFlag.AlignTop</set>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
     <widget class="QWidget" name="LastPage" >
      <layout class="QHBoxLayout" >
       <item>
        <widget class="QLabel" name="textLabel2" >
         <property name="text" >
          <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">

p, li { white-space: pre-wrap; }

&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">

&lt;ul style="-qt-list-indent: 1;">&lt;li style=" font-size:8pt;" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Programmiersprache&lt;/span>:&lt;/li>

&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:1; text-indent:1px; font-size:8pt;">Java Version 5 (Sun Microsystems)&lt;/p>

&lt;li style=" font-size:8pt;" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">User Interface:&lt;/span>&lt;br />QtJambi Java-Framework (Trolltech AG)&lt;/li>

&lt;li style=" font-size:8pt;" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Datenbank:&lt;/span> &lt;br />db4o (db4Objects, Inc.)&lt;/li>

&lt;li style=" font-size:8pt;" style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Entwicklungsumgebung&lt;/span>: &lt;br />Eclipse 3.1.2 (Eclipse Entwickler u.a.)&lt;/li>&lt;/ul>&lt;/body>&lt;/html></string>
         </property>
         <property name="textFormat" >
          <enum>com.trolltech.qt.core.Qt.TextFormat.RichText</enum>
         </property>
         <property name="scaledContents" >
          <bool>true</bool>
         </property>
         <property name="alignment" >
          <set>com.trolltech.qt.core.Qt.AlignmentFlag.AlignLeft|com.trolltech.qt.core.Qt.AlignmentFlag.AlignLeft|com.trolltech.qt.core.Qt.AlignmentFlag.AlignTop</set>
         </property>
         <property name="wordWrap" >
          <bool>true</bool>
         </property>
         <property name="indent" >
          <number>0</number>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
    </widget>
   </item>
   <item>
    <layout class="QHBoxLayout" >
     <property name="margin" >
      <number>0</number>
     </property>
     <item>
      <widget class="QLabel" name="LinkText" >
       <property name="sizePolicy" >
        <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="toolTip" >
        <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">

p, li { white-space: pre-wrap; }

&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">

&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;">Link auf die Webseite von Advolux&lt;/p>&lt;/body>&lt;/html></string>
       </property>
       <property name="whatsThis" >
        <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">

p, li { white-space: pre-wrap; }

&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">

&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Webseite von Advolux&lt;/span>&lt;/p>

&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;/p>

&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Durch einen Klick auf diesen Link wird die Webseite von Advolux in Ihrem Standard - Browser geöffnet. &lt;/p>

&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;/p>

&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" color:#ff7f50;">Für dieses Feature ist eine Internetverbindung erforderlich&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
       </property>
       <property name="text" >
        <string>&lt;a href="http://www.advolux.com";>www.advolux.com&lt;/a></string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="buttonOk" >
       <property name="minimumSize" >
        <size>
         <width>100</width>
         <height>28</height>
        </size>
       </property>
       <property name="windowTitle" >
        <string/>
       </property>
       <property name="toolTip" >
        <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">

p, li { white-space: pre-wrap; }

&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">

&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Beendet diesen Dialog und geht zurück zum Programm&lt;/p>&lt;/body>&lt;/html></string>
       </property>
       <property name="whatsThis" >
        <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">

p, li { white-space: pre-wrap; }

&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">

&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Beendet diesen Dialog und geht zurück zum Programm&lt;/p>&lt;/body>&lt;/html></string>
       </property>
       <property name="text" >
        <string>&amp;OK</string>
       </property>
       <property name="shortcut" >
        <string>Alt+O</string>
       </property>
       <property name="autoDefault" >
        <bool>true</bool>
       </property>
       <property name="default" >
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <layout class="QHBoxLayout" >
       <property name="margin" >
        <number>0</number>
       </property>
       <item>
        <spacer>
         <property name="orientation" >
          <enum>com.trolltech.qt.core.Qt.Orientation.Horizontal</enum>
         </property>
         <property name="sizeHint" >
          <size>
           <width>40</width>
           <height>20</height>
          </size>
         </property>
        </spacer>
       </item>
       <item>
        <widget class="QToolButton" name="PrevButton" >
         <property name="minimumSize" >
          <size>
           <width>32</width>
           <height>32</height>
          </size>
         </property>
         <property name="toolTip" >
          <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">

p, li { white-space: pre-wrap; }

&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">

&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Eine (Info) Seite zurück&lt;/p>&lt;/body>&lt;/html></string>
         </property>
         <property name="text" >
          <string>&lt;</string>
         </property>
         <property name="icon" >
          <iconset>icons/dreiecklinks22.png</iconset>
         </property>
         <property name="iconSize" >
          <size>
           <width>22</width>
           <height>22</height>
          </size>
         </property>
         <property name="autoRaise" >
          <bool>true</bool>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QToolButton" name="NextButton" >
         <property name="minimumSize" >
          <size>
           <width>32</width>
           <height>32</height>
          </size>
         </property>
         <property name="toolTip" >
          <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">

p, li { white-space: pre-wrap; }

&lt;/style>&lt;/head>&lt;body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">

&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Eine (Info) Seite vor&lt;/p>&lt;/body>&lt;/html></string>
         </property>
         <property name="text" >
          <string>></string>
         </property>
         <property name="icon" >
          <iconset>icons/dreieckrechts22.png</iconset>
         </property>
         <property name="iconSize" >
          <size>
           <width>22</width>
           <height>22</height>
          </size>
         </property>
         <property name="autoRaise" >
          <bool>true</bool>
         </property>
        </widget>
       </item>
      </layout>
     </item>
    </layout>
   </item>
  </layout>
 </widget>
 <resources/>
 <connections/>
</ui>

Message 5 in thread

Hi Eskil

> 1. Set your QTDIR environment variable to point to the installation of Qt. 

Do you mean the Qt 4.x installation or the Qt Jambi installation ?

thanks Arne


Message 6 in thread

Hi, Arne

Arne Stocker wrote:

>> 1. Set your QTDIR environment variable to point to the installation 
>> of Qt. 
>
>
> Do you mean the Qt 4.x installation or the Qt Jambi installation ?


The Qt 4.x installation. It is required because the generator needs to 
parse the original Qt header files.

I might also mention that the generator will most probably produce a lot 
of warnings when converting the files, but these should be anything to 
worry about, as they only refer to unmapped classes etc. in the Qt 
header files and should not have an effect on the .ui->.jui converter.

-- Eskil


Message 7 in thread

Hello Eskil

sorry, I just had a lot of things to do that avoided me from checking 
your suggestion

I set the QDIR Path to the Qt/bin directory, an get some strange 
warnings like

QDialog is unknown
QLabel ist unknown
...

if I set the QTDIR path ot the Qt directory I get a really big amount of 
warnings.

best regards
arne


Message 8 in thread

Sorry for the last mail, it is a little bit confusing

Setting the QTDIR to /Qt was correct. I received a lot of warnings, but 
in the end, the *.jui file was correct. The jui-compiler creates a valid 
java - file.

thank you
Arne


Message 9 in thread

Hi, Arne.

Arne Stocker skrev:
>
> Setting the QTDIR to /Qt was correct. I received a lot of warnings, 
> but in the end, the *.jui file was correct. The jui-compiler creates a 
> valid java - file.

We've heard reports of these warnings from several people. For the 
reports we've had so far, they have been false alarms, however, so as 
long as it works, I think you can disregard the warnings.

:-)

-- Eskil