Bug 20486 - QT4/KDE4 implementation of SWT
Summary: QT4/KDE4 implementation of SWT
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P5 enhancement with 41 votes (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA Friend
QA Contact: Silenio Quarti CLA Friend
URL:
Whiteboard:
Keywords:
: 107686 241543 242438 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-06-17 14:17 EDT by Christian Edward Gruber CLA Friend
Modified: 2016-05-05 09:53 EDT (History)
57 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Edward Gruber CLA Friend 2002-06-17 14:17:33 EDT
GTK and Motif implementations do not participate in some of the KDE services, 
and often are visually dis-jointed from a surrounding KDE desktop.  Having 
a "native" KDE-backed (or at least QT-backed) implementation of SWT would be 
highly desireable.
Comment 1 Mike Wilson CLA Friend 2002-06-17 15:51:30 EDT
To be considered post R2.0.
Comment 2 Veronika Irvine CLA Friend 2002-09-11 14:08:13 EDT
Moving from Later.
Comment 3 Joerg Pleumann CLA Friend 2003-04-24 02:16:53 EDT
Any chance of seeing this in 2.2? I would appreciate a "native" QT version for 
working under Linux, and I sencond the arguments of the original reporter.

I remember some postings or web pages saying that SWT/QT is less of a techical 
problem and more of a legal one. Something about an incompatibility between the 
CPL and the GPL (under which QT is available). If so, it might be easiest to 
buy Trolltech. :)
Comment 4 Steve Northover CLA Friend 2003-04-24 07:37:37 EDT
There is no plan in place to do this.
Comment 5 Jan Schulz CLA Friend 2003-07-25 10:04:13 EDT
The 
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-swt-home/dev.html 
website says, that 

"SWT for Qt/E will be included in the next release of the IBM WebSphere Micro 
Environment and WebSphere Customer Environment products. We are currently 
working on determining the feasibility of releasing SWT for Qt/E to the Eclipse 
project."

Is that still a leftover from times back, or is that something new? Any news if 
swt/qt can be done, when the QT license is used? This was asked in the swt 
newsgroup several times, but I've only heard answers to the swt <-> qt/gpl 
issue, but not qt/QTL. If eclipse.org had some laywers looking into it, it would 
be nice if the result would be posted somewhere...
Comment 6 Trejkaz pen name CLA Friend 2004-04-28 22:41:17 EDT
I'd definitely love a solid clarification on this.  It is well-known that the
patent clauses in CPL prevent interoperation with the GPL, but I haven't heard
any word on exactly what incompatibility there is between the CPL and the QPL.

Afterall, nobody will run SWT/Qt on Windows, they will run SWT/Windows.  We only
care about SWT/Qt on KDE, and you can license Qt/Free under the QPL.
Comment 7 Steve Northover CLA Friend 2004-04-29 10:13:38 EDT
You need to ask the Qt guys about this.  They need to work it out with the 
Eclipse lawyers.  Us developers can do nothing.
Comment 8 Trejkaz pen name CLA Friend 2004-04-30 21:54:43 EDT
Saying that is simply passing the buck.

I just emailed Trolltech to ask about this and they said that "as long as CPL is a recognised Open Source license" (which it is), then it should be fine.

That is to say, if there is any incompatibility, it is up to the Eclipse team to determine it, not Trolltech.
Comment 9 Morten Moeller CLA Friend 2004-05-02 16:03:07 EDT
I'm no license expert, but since QT libraries are GPL (not LGPL), you cannot 
ship them with closed source commercial software. Trolltech charges money for 
commercial usage of their libraries.

So I'm guessing this is the problem. You couldn't, as far as I know, ship QT 
libraries with "closed source" commercial software, as 3rd party vendors 
doesn't need to have their code distributed under CPL/EPL. After all, I could 
then create closed source commercial software using QT without paying anything 
to Trolltech.

But I'm a big KDE fan and I use KDE everyday (and the GTK tree widget is 
driving me nuts) so I wish this could be done. Maybe it can't be shipped with 
Eclipse, but someone could definitivly do it as an open source GPL project..

Comment 10 Trejkaz pen name CLA Friend 2004-05-02 18:08:48 EDT
I wish people would stop spouting this "Qt is GPL is evil" bullshit, 
personally.  It's a common misconception which probably started from the GTK 
zealots who wanted to believe that somehow GTK's license is superior. 
 
In _fact_, the Qt libraries are dual license, GPL/QPL. 
 
Obviously since GPL and CPL are incompatible, there is no point licensing it 
under the GPL in the case of Eclipse/SWT.  But QPL is an obvious choice, and 
is perfectly legal according to Trolltech themselves. 
 
And you can already develop a commercial product which works with Qt.  You 
just can't _distribute_ Qt with that commercial product.  This is exactly the 
same as it would be in SWT/Qt would just be released. 
 
And I see no point in developing the entire thing again when IBM have already 
been boasting about having completed it. 
Comment 11 Steve Northover CLA Friend 2004-05-03 10:38:03 EDT
> Saying that is simply passing the buck.

I am an engineer and can do or say nothing about the legal world.  If you want 
something to happen, you will need to deal with entities from that world, not 
the developers.
Comment 12 Mirza Hadzic CLA Friend 2004-09-13 04:44:26 EDT
Now, that Eclipse is EPL instead of CPL, does it mean it will support also KDE (Qt)?
Comment 13 Genady Beryozkin CLA Friend 2005-01-28 18:34:34 EST
Even if it is problematic, maybe it is possible to follow the JDT spell checker
example (it comes without dictionaries, since most free dictionaries are GPL-ed)
- distribute Eclipse under CPL with no "in question" plugins and develop the
Qt/SWT implementation under the appropriate license. Users will download this
alternative implementation and install it on their systems.

This should be legal since it's legal to write GPL programs that run on windows
(and you can't force M$ to open source windows ...).
Comment 14 Steve Northover CLA Friend 2005-01-31 10:39:17 EST
Still can't help.  It's between Trolltech and Eclipse.org.  Whatever they 
decide is the answer.
Comment 15 Trejkaz pen name CLA Friend 2005-01-31 15:46:51 EST
Genady Beryozkin's solution sounded like it didn't involve the legal dispute 
at all, actually.  Maybe you should try it. 
Comment 16 Steve Northover CLA Friend 2005-01-31 17:38:18 EST
Nothing to try.  I can't develop or release QT code into Eclipse CVS without 
risking my job.
Comment 17 Genady Beryozkin CLA Friend 2005-01-31 18:06:54 EST
What if you (or somebody else) opens a Sourceforge project and commits the 
code there?
Or can IBM (I assume you wrote the code as part of your IBM job) make the code 
available as "public domain"?
Comment 18 Steve Northover CLA Friend 2005-01-31 18:10:43 EST
I'm not a lawyer and have no idea.  I just want to hack code.
Comment 19 Trejkaz pen name CLA Friend 2005-01-31 18:53:27 EST
That's exactly it.  It doesn't have to go into Eclipse CVS.  Any bit that goes
into Eclipse CVS doesn't even have to contain Qt code.

There is a standard workaround for this sort of issue.
1. Binding library licensed under some flexible license like BSD.
2. Implementation of SWT as a frontend of said binding, licensed under the EPL.
3. Implementation of Qt as a backend of said binding, licensed under the GPL.

But besides all that, Trolltech already told me ages ago that there shouldn't be
a problem.  It seems that the Eclipse.org side is where the problem is, so at
least the bug is in the right place.

Perhaps if the "lowly developer" can't do it, the bug should be reassigned to
someone who _can_.
Comment 20 Billy Biggs CLA Friend 2005-08-23 09:50:23 EDT
*** Bug 107686 has been marked as a duplicate of this bug. ***
Comment 21 Chris George CLA Friend 2005-08-23 10:28:16 EDT
What is the licensing problem? I thought Qt/KDE were under GPL? (Albeit Qt make
corportions pay certain fees?)
Comment 22 Gunnar Wagenknecht CLA Friend 2005-08-23 14:31:53 EDT
I'm not a lawyer but I guess it's because of the incompatibilities between the
EPL/CPL and the GPL. SWT would be linked against GPL code, which requires the
SWT code to be released under GPL as well. I'm not sure what this will mean for
RCP apps.
Comment 23 Trejkaz pen name CLA Friend 2005-08-23 19:48:23 EDT
The two licences are definitely incompatible at the moment, as the GPL doesn't
allow extra restrictions to be placed upon the redistribution, whereas the CPL
requires the patents to be mentioned (that's the broad summary, anyway.)  This
requirement for the patents to be mentioned directly breaks the GPL's
requirement on not having extra restrictions.

Supposedly the *next* GPL (version 3.0) is going to have consideration for
patents, so maybe by that version will be compatible with the CPL.

All this is pretty much academic anyway, for two reasons.

1. Trolltech have already said that "as long as CPL is a recognised Open
   Source license" then there should be no problem.  Presumably at this point,
   the Eclipse project are just covering their arses... you know, in case they
   release it, and then Trolltech change their mind.  This seems pretty
   unlikely though, especially if you know what Trolltech are like.  They're
   pretty supportive of open source projects and have been known to do things
   like give free licences of Qt to certain open source projects (e.g. the Psi
   project.)  A little negotiation goes a long way with those guys.

2. The GPL/CPL licence incompatibility problem would only exist in situations
   where the SWT project redistributed Qt itself.  Source code which *links*
   to Qt could be released without repurcussions, and would satisfy the
   majority of the cases out there.  If it were for Windows, I could understand
   it, because there is a culture of redistributing every library with the
   executable.  But SWT/Qt wouldn't be used on Windows because we already have
   SWT/Win32.  SWT/Qt would be used on *nix systems, where distributing source
   is pretty common.  It would also allow people who actually have a commercial
   Qt licence already, to get a nice Java wrapper around that library, for
   slightly simpler development.

But you know, I think the fact that the SWT team haven't done the port, and
simply don't want to do the port, outweighs the sanity of these two points, no
matter how true they may be.
Comment 24 Rutger Ovidius CLA Friend 2006-01-26 12:25:10 EST
With GPLv3 it should be possible; I hope this issue can be pursued. 

http://news.zdnet.com/2100-9595_22-6028746.html

"Second, there are also more programs under more licenses which, while free, are incompatible with GPL. To enable broader technical collaboration, we have added the enhanced compatibility provisions of the license to allow more people to share more code across more projects than ever before. The ability to share Eclipse License code and Apache License Code...means that GPL now reaches far more broadly across the world of programs and projects than it ever did before."
Comment 25 Guillaume BINET CLA Friend 2007-03-08 08:54:42 EST
A year later...
Now that Java is GPL'd this situation looks even more absurd ~~

I love Java, Eclipse & KDE, IMHO the 3 best in their respective categories... Why do I have to run eclipse at a "sub-windows" performance with an awful file opening dialog, non-working drag-n-drops, buggy trees etc etc ...?

If there is a special case to add to whatever license or a third license type to release something with, why not just do it ?

Why not release them separately ? I basically run an eclipse under qt with the gtk-qt bridge and I am still not in prison, so somewhere a license shunt is somewhere possible.

(In reply to comment #24)
Comment 26 Trejkaz pen name CLA Friend 2007-03-08 16:08:44 EST
The problem wasn't Java in the first place.  The problem was CPL's incompatibility with the GPL.
Comment 27 Guillaume BINET CLA Friend 2007-03-08 16:46:41 EST
(In reply to comment #26)
> The problem wasn't Java in the first place.  The problem was CPL's
> incompatibility with the GPL.
> 

Yes, I know, I was making a point that eclipse is built on a gpl'ed compiler, run a gpl'ed system and a gpl'ed vm and has to use *indirectly* a gpl'ed graphic toolkit (I mean by that the gtk / gtk-qt / qt bridge).

The only thing that allows it, if I understand correctly is that gtk is lgpl so the gpl and the cpl are compatible with it ?

So exactly like you said yourself, so be it, if we release a qt-binding-custom-just-for-swt-friendly-lgpl as a 1 to 1, method by method exposition of the qt-official-java-binding-evil-gpl would it work ? Would eclipse.org use it ?

Comment 28 Gunnar Wagenknecht CLA Friend 2007-03-08 16:55:17 EST
Sorry for this off-topic reply but there is something wrong in comment #27.

(In reply to comment #27)
> [...] eclipse is built on a gpl'ed compiler,
> run a gpl'ed system and a gpl'ed vm [...]

Eclipse is built using its own compiler - the Eclipse compiler - which is EPL not GPL. Additionally, Sun made it clear that a GPLed VM and class library does not 'infect' the software running on it. Last but not least, there is also J9, IBMs VM to compile and test against.
Comment 29 Genady Beryozkin CLA Friend 2007-03-08 17:10:05 EST
(In reply to comment #3)
> Any chance of seeing this in 2.2? I would appreciate a "native" QT version for 
> working under Linux, and I sencond the arguments of the original reporter.
> I remember some postings or web pages saying that SWT/QT is less of a techical 
> problem and more of a legal one. Something about an incompatibility between the 
> CPL and the GPL (under which QT is available). If so, it might be easiest to 
> buy Trolltech. :)

I like the idea. In 4+ years we could have raised the money already :)
Comment 30 Guillaume BINET CLA Friend 2007-08-08 18:40:34 EDT
http://trolltech.com/products/qt/gplexception

Does it make any difference ?
Comment 31 Bernhard Rosenkraenzer CLA Friend 2007-08-14 05:19:05 EDT
The GPL exception explicitly allows linking to CPL code.
Unfortunately right now the only Qt version that has been released with this license is 4.3.1, while the existing code probably requires Qt 3.x.

Porting it shouldn't be too hard though, assuming the source got released (and releasing the source shouldn't be a problem even with pure GPL - just linking it to pure GPL code would be problematic, which is, of course, something people who download the source for the sole purpose of porting it to Qt 4.x wouldn't do.
Comment 32 Gorkem Ercan CLA Friend 2008-01-28 05:51:46 EST
We had the contribution of eSWT on QTe code on eRCP project CVS [1]. There had not been enough interest for it to complete eSWT level interest so far. Also there is a recent change on the ownership of the QT [2].

What is the interest and level of existing code for a SWT implementation? Is there an existing code base that can be contributed for SWT (besides the current eSWT contribution) ? Would SWT team be interested on a complete SWT implementation?


[1] http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ercp/org.eclipse.ercp.swt.core.qte/?root=DSDP_Project
[2] http://trolltech.com/28012008/28012008
Comment 33 Steve Northover CLA Friend 2008-01-30 14:43:34 EST
> Would SWT team be interested on a complete SWT implementation?

Are you offering to provide one?  One interesting thing about the eSWT implemenation is that it is based on the UGL API, unlike SWT on the desktop.
Comment 34 Gorkem Ercan CLA Friend 2008-02-01 10:50:19 EST
Unfortunately, I do not have a ready implementation that I can contribute for the moment.
On the other hand we have done some performance comparison for GTK+ implementation of SWT with the UGL based eSWT implementation of GTK+. We found out that there are no significant performance differences between the two approaches. I think it is possible for eSWT & SWT to share the same base implementation. Qt may be possibly be the first shared implementation.
The existing code for eSWT Qt is based on UGL, is UGL approach suitable for desktop SWT? eRCP does not really have a mandate/requirement on the approach for the eSWT implementations, for instance S60 and Series 80 implementations are not based on UGL. 
Comment 35 Steve Northover CLA Friend 2008-02-01 16:56:16 EST
UGL is not the preferred approach for the desktop.
Comment 36 Jörg von Frantzius CLA Friend 2008-04-11 18:11:59 EDT
(In reply to comment #30)
> http://trolltech.com/products/qt/gplexception
> 
> Does it make any difference ?
> 

I'm sure there were more knowledgeable discussions about this elsewhere (unfortunately not on org.eclipse.foundation), but here's my understanding: 

If *Eclipse.org* wanted to distribute a port of SWT for Qt, there would be *NO LICENCE PROBLEM* anymore with these new GPL exceptions, that explicitly list the Eclipse Public Licence (EPL).

Now if any company wanted to distribute (sell) a *commercial product* with these hypothetical SWT/Qt binaries, ie. offer a build for that platform next to their other supported platfoms, they'd have to go and make a deal with Trolltech (whatever that may mean in numbers).

The question of course is: who would be financing the port? The SWT team, as far as I can see, is mostly on IBM's payroll. Why would IBM finance it, if they'd have to omit the builds of their products for that platform? 

I'd say: IBM please! While you're at it big time anyway, why not the QT port?! If IBM really wanted to also offer builds for Qt, maybe Trolltech would even have a good offer, Nokia-owned as they are.

That's of course unless Steve Northover & Co. would anyway refuse to support YAPS!, Yet Another Platform for SWT! 
Comment 37 Mohamed Bana CLA Friend 2008-04-24 12:58:08 EDT
I am so looking forward to this.
Comment 38 Bogdan Gheorghe CLA Friend 2008-07-21 12:21:40 EDT
*** Bug 241543 has been marked as a duplicate of this bug. ***
Comment 39 Bernhard Rosenkraenzer CLA Friend 2008-07-21 12:54:54 EDT
Qt 3.3.8b comes with the exact same additional rights as Qt 4.x, among others, it is explicitly allowed to link Qt 3.3.8b and EPL/CPL code.

With the legal problem out of the way, can somebody publish the code?
Comment 40 Jörg von Frantzius CLA Friend 2008-07-22 05:58:26 EDT
Please see thread with subject "SWT for KDE / Qt?" in newsgroup eclipse.foundation for a discussion on the legal implications, and why this requires major legal research (that nobody currently wants to fund).
Comment 41 Kevin Barnes CLA Friend 2008-07-22 09:38:47 EDT
link to newsgroup discussion mentioned in comment #40: 
http://www.eclipse.org/newsportal/article.php?id=1727&group=eclipse.foundation#1727
Comment 42 Kevin Barnes CLA Friend 2008-07-29 14:02:53 EDT
*** Bug 242438 has been marked as a duplicate of this bug. ***
Comment 43 CHENG Yuk Pong CLA Friend 2009-01-14 03:56:36 EST
Does LGPL help?
http://www.qtsoftware.com/about/news/lgpl-license-option-added-to-qt
Comment 44 Michael Greifeneder CLA Friend 2009-01-14 06:39:57 EST
Bug should be renamed to QT4/KDE4 implementation of SWT.
Comment 45 Antoine Toulmé CLA Friend 2009-01-16 22:16:21 EST
I renamed the bug ; is there a chance we can have Qt support for Eclipse ? It would make things easier for SWT I think.
Comment 46 Jasper Siepkes CLA Friend 2009-01-18 15:26:10 EST
I'm by no means a lawyer. But AFAIK there shouldn't be a problem linking from EPL code to LGPL code, right ? Can anyone with a legal background comment on this ?
Comment 47 Antoine Toulmé CLA Friend 2009-01-18 16:30:20 EST
How about opening a CQ ?
Comment 48 CHENG Yuk Pong CLA Friend 2009-01-18 19:36:24 EST
The LGPL in Qt 4.5 will include some exclusion rule for other open source licenses, it's better to wait for the details before opening a CQ.
Comment 49 Gunnar Wagenknecht CLA Friend 2009-01-19 02:55:52 EST
(In reply to comment #46)
> I'm by no means a lawyer. But AFAIK there shouldn't be a problem linking from
> EPL code to LGPL code, right ? Can anyone with a legal background comment on
> this ?

Please have a look at bug 246945. It discusses the issue of interfacing with libs that are not EPL compatible.
Comment 50 CHENG Yuk Pong CLA Friend 2009-01-19 03:39:00 EST
Just FYI,  GTK+ is also under  GNU LGPL 2.1.
Comment 51 Michael Greifeneder CLA Friend 2009-05-12 05:36:49 EDT
Qt Jambi libary is LGPL now, too.
http://labs.trolltech.com/blogs/2009/05/11/qt-jambi-450_01-released-contributors-wanted/
Comment 52 Thomas Schindl CLA Friend 2009-05-12 06:14:11 EDT
For those of you who are only interested in Form-Based-Frontends (who don't need support for all widget types, custom drawing, ...) you can take a look at my UFaceKit-Project [1,2]. 

At EclipseCon 09 I showed an E4-RCP-Application running on top of the current E4-Code and the UFaceKit-QT-Jambi-Port (this version is based on the "old" GPL-Release).

I'm going to file a CQ for QT-Jambi soon but I think QT-Jambi is not helping us to get a SWT-QT-Port because this should happen at a low-level C-bridge because maintaing QT-Jambi (Nokia is not going to provide funding for it after this release) is out-of-scope for SWT. Besides that there are different philosphies behind QT-Jambi and SWT (QT-Jambi: Rely on Java-Garbage-Collector, SWT: Dipose when not needed) and writting an abstraction of an abstraction (SWT => QT-Jambi => QT) is performance wise a bad idea.

The lack of funding from Nokia (IMHO the QT-Jambi-Project will go to end of live with the next major QT-Release) opens the door for Eclipse/SWT to give Java-Developers who want to use QT a new home.

[1]http://wiki.eclipse.org/UFaceKit
[2]http://www.eclipse.org/ufacekit/
Comment 53 Michael Greifeneder CLA Friend 2009-05-13 16:48:01 EDT
@Tom Schindl: Thank you for this explanation. I will give UFaceKit a try next time I have to create a user interface. 
Comment 54 Alex Richardson CLA Friend 2009-09-22 08:28:18 EDT
Has there been any progress on a Qt port lately?
Comment 55 Gorkem Ercan CLA Friend 2009-09-22 08:44:52 EDT
(In reply to comment #54)
> Has there been any progress on a Qt port lately?

Nokia has contributed an eSWT implementation on Qt to eRCP project. Although this is an implementation for eSWT it is a good starting point for the full SWT implementation. eSWT team already expressed interest to work with anyone who would like to complete the implementation to full SWT, sadly no interest so far.
Comment 56 Alex Richardson CLA Friend 2009-09-22 08:59:34 EDT
(In reply to comment #55)
> Nokia has contributed an eSWT implementation on Qt to eRCP project. Although
> this is an implementation for eSWT it is a good starting point for the full SWT
> implementation. eSWT team already expressed interest to work with anyone who
> would like to complete the implementation to full SWT, sadly no interest so
> far.
Well I only have mediocre experience with Qt and SWT (and none with the native code used there) but if that's good enough to be of some use to the SWT team I'd be glad to help.
Comment 57 Gorkem Ercan CLA Friend 2009-09-22 10:01:10 EDT
Native code generation is probably the first thing to resolve. eSWT code at the moment does not use code generation for the native parts. I think getting the SWT's code generation working for Qt would be the first step.
Comment 58 Kevin Barnes CLA Friend 2009-09-22 17:43:13 EDT
Gorkem, do you have a link to the eSWT code?
Comment 59 Remy Suen CLA Friend 2009-09-22 17:52:57 EDT
(In reply to comment #58)
> Gorkem, do you have a link to the eSWT code?

I found this in /cvsroot/rt.

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ercp/eswt/qt/?root=RT_Project
Comment 60 Remy Suen CLA Friend 2009-09-25 12:15:50 EDT
(In reply to comment #57)
> eSWT code at the moment does not use code generation for the native parts.

So is _anything_ generated at all or is everything handwritten?
Comment 61 Gorkem Ercan CLA Friend 2009-09-25 12:36:03 EDT
(In reply to comment #60)
> So is _anything_ generated at all or is everything handwritten?

It is all hand-made, just like grandpa used to make. This code is created by a team that is very efficient with C++ (The earlier eSWT implementation on Symbian was done mostly on C++). The work had to start fast and team did not mind coding the JNI wrappers. Although we did want to integrate the code generator, it never became a priority. Other than a few places where C++ code is used for performance and simplicity, JNI code is very simple and can be generated.
Comment 62 Remy Suen CLA Friend 2009-09-29 11:19:21 EDT
(In reply to comment #61)
> Other than a few places where C++ code
> is used for performance and simplicity, JNI code is very simple and can be
> generated.

From opening random files, I'm guessing the "very simple" JNI code is mostly contained in os.cpp file? In case you didn't know, SWT's JNI generator can generate C++ code.
Comment 63 Gorkem Ercan CLA Friend 2009-09-29 16:21:55 EDT
(In reply to comment #62)
> From opening random files, I'm guessing the "very simple" JNI code is mostly
> contained in os.cpp file? In case you didn't know, SWT's JNI generator can
> generate C++ code.

correct all the jni calls are in os.cpp file. Back when we have started generator was not able to do C++ code. I know it get modified for Objective-C and either Silenio or Steve commented after those changes that it could be used for C++ as well. However, I do not think it is used for C++ now.
Comment 64 Gorkem Ercan CLA Friend 2009-10-01 03:42:44 EDT
Remy has created bug 290987 for tracking the progress of taking JNI generator into use. He also did some experimentation with encouraging results. Please do follow that report if you would like to help with the work or just interested.
Comment 65 Nobody - feel free to take it CLA Friend 2010-03-06 10:01:32 EST
I must admit I'm not current with all developments of the matter.
So I really need to ask: is there still any legal barrier against creating a SWT implementation over Qt on Linux? I see none, since both Qt and GTK+ are available under exactly the same license, LGPL 2.1.

Ports for other operating systems (Windows, Mac OS) are not interesting because the native look & feel advantage of SWT over Swing is lost in those cases.
Comment 66 Artyom Kuanbekov CLA Friend 2010-03-23 05:53:18 EDT
Seems like there is already Qt port developed inside Riena project (http://wiki.eclipse.org/Riena_Project) and was presented on EclipseCon yesterday http://www.eclipsecon.org/2010/sessions/sessions?id=1142
Comment 67 Malte CLA Friend 2010-03-23 06:30:29 EDT
As it seems, they are unfortunately only working on a windows port. Some additional information on this project would be of use.
Comment 68 CHENG Yuk Pong CLA Friend 2010-07-02 07:02:19 EDT
see also bug 318484 .
Comment 69 Alexander Kurtakov CLA Friend 2016-05-05 09:53:18 EDT
I'm closing this bug. Whoever is still interested in doing Qt5 port (there is no point in talking about starting Qt4 port now) please open a new bug to start the discussion clean as with that many comments it's not quite clear who/what/when proposed.