Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Embedding QT widgets in SWT
Embedding QT widgets in SWT [message #842789] Thu, 12 April 2012 16:01 Go to next message
Seref Arikan is currently offline Seref ArikanFriend
Messages: 61
Registered: August 2010
Member
Greetings,
I've been developing various tools with RCP and some serious plugin work is on the horizon.

There are some cases where I can make a lot faster progress if I could just develop a particular widget with QT, and embed that into SWT as a custom SWT component.

Google searches present bits an pieces of examples, and I can use them if I can't find any proper documents that explains how to extend SWT with QT (or with other native components).

Is there any documentation/book/tutorial that explains wrapping native widgets with SWT? QT is my target, but anything that goes into details of the topic would help.

After much thinking I've decided to go into this direction, since it'll be the most productive combination of technologies given my circumstances.

Any feedback would be much appreciated.

Best regards
Seref
Re: Embedding QT widgets in SWT [message #843928 is a reply to message #842789] Fri, 13 April 2012 14:06 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2151
Registered: July 2009
Senior Member
Hi Seref,

As you're probably aware, you'll need to use the port of SWT for Qt that
is being developed at http://code.google.com/a/eclipselabs.org/p/swtqt/
(I have not tried using it). If this works well for you in general then
have a look at
http://www.eclipse.org/articles/Article-Writing%20Your%20Own%20Widget/Writing%20Your%20Own%20Widget.htm
for info on creating a new widget, and in particular its "Wrapping a
Native Widget" section.

HTH,
Grant


On 4/12/2012 12:01 PM, Seref Arikan wrote:
> Greetings, I've been developing various tools with RCP and some serious
> plugin work is on the horizon.
> There are some cases where I can make a lot faster progress if I could
> just develop a particular widget with QT, and embed that into SWT as a
> custom SWT component.
> Google searches present bits an pieces of examples, and I can use them
> if I can't find any proper documents that explains how to extend SWT
> with QT (or with other native components).
> Is there any documentation/book/tutorial that explains wrapping native
> widgets with SWT? QT is my target, but anything that goes into details
> of the topic would help.
> After much thinking I've decided to go into this direction, since it'll
> be the most productive combination of technologies given my circumstances.
> Any feedback would be much appreciated.
> Best regards
> Seref
>
Re: Embedding QT widgets in SWT [message #849866 is a reply to message #843928] Thu, 19 April 2012 14:16 Go to previous message
Seref Arikan is currently offline Seref ArikanFriend
Messages: 61
Registered: August 2010
Member
Hi Grant,
Somehow, I was not notified of your response via e-mail. Thanks for the pointer, I've reached a similar conclusion for the direction of travel, and seeing it in action is really nice.

Best regards
Seref
Previous Topic:SWT performance on drawing text (compare with Swing, sample code provided)
Next Topic:How Can I Sort An SWT Table Using Only The Keyboard
Goto Forum:
  


Current Time: Thu Nov 27 16:32:15 GMT 2014

Powered by FUDForum. Page generated in 0.01677 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software