eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.51k stars 1.42k forks source link

switch to qt (trac #311) #311

Open behrisch opened 14 years ago

behrisch commented 14 years ago

The plan is to switch our GUI and threading to QT

Migrated from http://sumo.dlr.de/ticket/311

{
    "status": "new", 
    "changetime": "2015-10-21T13:31:38Z", 
    "description": "The plan is to switch our GUI and threading to QT ", 
    "reporter": "behrisch", 
    "cc": "", 
    "resolution": "", 
    "_ts": "1445434298621821", 
    "component": "simulation gui (GUISIM)", 
    "summary": "switch to qt", 
    "priority": "minor", 
    "keywords": "", 
    "time": "2010-05-28T08:35:26Z", 
    "milestone": "2.0.0", 
    "owner": "", 
    "type": "task"
}
behrisch commented 14 years ago

@behrisch changed milestone from "" to "2.0.0"

behrisch commented 14 years ago

@namdre changed priority from "major" to "minor"

wxinix commented 3 years ago

Will SUMO GUI be migrated to Qt any time soon?

It is such a mystery to me that SUMO GUI is built using Fox Toolkit, which is a stone-age GUI framework and which makes SUMO user interface looks like the vintage style in the 1990s.

palvarezlopez commented 3 years ago

@wxinix we're currently studying it

namdre commented 3 years ago

SUMO hails from an age where the Qt license wasn't quite open enough and there weren't so many portable gui toolkits around (2001, to be precise).

behrisch commented 3 years ago

And the current license is still controversial and as far as I can see qt is currently only allowed as an exempt prereq https://dev.eclipse.org/ipzilla/show_bug.cgi?id=12477 which means it needs to be installed by the user separately but cannot be redistributed by us.

palvarezlopez commented 3 years ago

@behrisch what do you mean exactly with the "redistribution"? Can we adjunct the Qt dlls in the Release bin folder or not?

behrisch commented 3 years ago

If the statements in the linked IPZilla document are still valid we cannot. The user needs to install Qt separately.

palvarezlopez commented 3 years ago

I don't have access to IPZilla due problem with username/password, but I can understand the problem. We have another alternative: If the free license GPL/GLPv3 isn't compatible with eclipse, we can check if pay license is compatible:

https://www.qt.io/pricing

palvarezlopez commented 3 years ago

@behrisch Can we apply this?

"The new EPL v2 will now optionally allow EPL licensed projects to be compatible with the GPL. EPL v1 and GPL v2/v3 were not considered to be compatible making it difficult to combine EPL and GPL source code. The new EPL v2 will allow initial contributors to new projects to specify if they want their EPL v2 licensed project to be GPL compatible."

https://www.eclipse.org/org/press-release/20170829eplv2.php

behrisch commented 3 years ago

I don't have access to IPZilla due problem with username/password, but I can understand the problem. We have another alternative: If the free license GPL/GLPv3 isn't compatible with eclipse, we can check if pay license is compatible:

https://www.qt.io/pricing

This would imply everyone who wants sumo-gui or netedit needs to pay. Does not sound very attractive to me.

behrisch commented 3 years ago

@behrisch Can we apply this?

"The new EPL v2 will now optionally allow EPL licensed projects to be compatible with the GPL. EPL v1 and GPL v2/v3 were not considered to be compatible making it difficult to combine EPL and GPL source code. The new EPL v2 will allow initial contributors to new projects to specify if they want their EPL v2 licensed project to be GPL compatible."

https://www.eclipse.org/org/press-release/20170829eplv2.php

No, this would mean that everyone who needs sumo-gui / netedit can only license SUMO under GPL. This would basically reverse all our efforts to make the license industry friendly.

palvarezlopez commented 3 years ago

Is there no alternative then?

behrisch commented 3 years ago

There are other GUI toolkits :-)

wxinix commented 3 years ago

Such as? I guess wxWidgets?

On Fri, Aug 27, 2021 at 6:52 AM Michael Behrisch @.***> wrote:

There are other GUI toolkits :-)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/eclipse/sumo/issues/311#issuecomment-907113666, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABISKGCRXGVOETVWYR54VCDT65U5BANCNFSM5BFSJAOA .

palvarezlopez commented 3 years ago

https://www.wxwidgets.org/about/licence/

wxWidgets is currently licenced under the “wxWindows Library Licence” pending approval of the “wxWidgets Library Licence” which will be identical apart from the name.

The wxWindows Library Licence is essentially the L-GPL (Library General Public Licence), with an exception stating that derived works in binary form may be distributed on the user’s own terms. This is a solution that satisfies those who wish to produce GPL’ed software using wxWidgets, and also those producing proprietary software.

I Think we have the same problem... @behrisch what do you think?

behrisch commented 3 years ago

I think it is more or less the same situation as with FOX. They also have this exceptional rule to the LGPL and Eclipse accepted it as our path to distributing it. Further GUI toolkits could be GTK or something from the Eclipse universe.