How to convert a qtdesigner generated jui file to executable application?
-
I wanted to embed WebKit inside Java Application. I came to know about Qt Designer and used it to embed webkit and it was working fine. I used QWebView. I got a JUI file generated. Now how do I convert it or export it to an Executable JAR file or an application?
Please help me out with this.Regards,
Gayathri. -
Hi Gerolf,
I downloaded QtDesigner and opened it and started working on the layout this way, and I have got this:
!http://i51.tinypic.com/20iubmp.png(QTDesignerScreen)!
Link: http://i51.tinypic.com/20iubmp.pngNow its working perfectly when I click on Form » Preview in QtDesigner. But how should I export this as a standalone executable application? I haven't written a single piece of code yet. Thanks in advance.
-
It has an option only to save as a jui file. The jui file generated has only this:
@<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0" language="jambi">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>600</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QWebView" name="webView">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>600</height>
</rect>
</property>
<property name="url">
<url>
<string>http://127.0.0.1:8088/index.php</string>
</url>
</property>
</widget>
</widget>
</widget>
<customwidgets>
<customwidget>
<class>QWebView</class>
<extends>QWidget</extends>
<header>com.trolltech.qt.webkit</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>@