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

Qt-jambi-interest Archive, February 2008
Using Qt Jambi within Eclipse RCP


Message 1 in thread

Hello,

until today I did some minor things based on the Eclipse Rich Client Platform 
(RCP). I feel quite comfortable with mechanisms such as distributing 
different functionality in different plugins etc. so I could say I like the 
basic architecture of the Eclipse RCP.

What I don't like that much is the UI part: SWT and JFace. There is no good 
and comfortable GUI designer and writing everything by hand gets quite 
complex.

Therefore I wonder whether it is possible to do the GUI things of a RCP 
project using Qt Jambi. I installed the Qt Jambi Eclipse integration and had 
a simple window wwith some buttons etc. within seconds on my screen.

Did anybody do a RCP project using Qt as GUI? Should that work or are there 
problems making this impossible? Are there things I should pay special 
attention to?

Thanks in advance and best regards,
Andreas Bockhold


Message 2 in thread

Well the problem is that the surrounding of you application (Menus, 
Tabs, ...) are always drawn by SWT. The only part you control are the 
contents of Views and Editors.

The only real solution is that Eclipse and Trolltech get together and 
find out what needs to be done to get an SWT-port for QT (maybe based 
upon QT-Jambi so no native code is needed on SWT-side). I once did a 
little research and the basic things should not be too hard to accomplish.

Tom

andreas@xxxxxxxxxxxxxx schrieb:
> Hello,
> 
> until today I did some minor things based on the Eclipse Rich Client Platform 
> (RCP). I feel quite comfortable with mechanisms such as distributing 
> different functionality in different plugins etc. so I could say I like the 
> basic architecture of the Eclipse RCP.
> 
> What I don't like that much is the UI part: SWT and JFace. There is no good 
> and comfortable GUI designer and writing everything by hand gets quite 
> complex.
> 
> Therefore I wonder whether it is possible to do the GUI things of a RCP 
> project using Qt Jambi. I installed the Qt Jambi Eclipse integration and had 
> a simple window wwith some buttons etc. within seconds on my screen.
> 
> Did anybody do a RCP project using Qt as GUI? Should that work or are there 
> problems making this impossible? Are there things I should pay special 
> attention to?
> 
> Thanks in advance and best regards,
> Andreas Bockhold


Message 3 in thread

> Well the problem is that the surrounding of you application (Menus,
> Tabs, ...) are always drawn by SWT. The only part you control are the
> contents of Views and Editors.

Thanks for your answer Tom!

> The only real solution is that Eclipse and Trolltech get together and
> find out what needs to be done to get an SWT-port for QT (maybe based
> upon QT-Jambi so no native code is needed on SWT-side). I once did a
> little research and the basic things should not be too hard to accomplish.

Well, probably I didn't express my thoughts the right way: I'm thinking about 
creating a "headless" (aka without GUI) RCP application and then using Jambi 
for that part. I would use the management of plugins, updates etc. of the RCP 
framework but insted using the UI parts of the RCP I would use Qt.

Is that a possibility or did I forget something important about this?

Andreas