Selling apps using wxWindows

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
Hackbert
Experienced Solver
Experienced Solver
Posts: 51
Joined: Sun Sep 12, 2004 11:58 am
Location: Hamburg, Germany
Contact:

Selling apps using wxWindows

Post by Hackbert » Fri Sep 17, 2004 4:26 pm

Hi!
As I like wxWindows very much, I'd like to use it for commercial projects, too. Where can I find the license? I'd like to know if it is possible to sell apps using wxWindows...

Thanks,
Andi

eros
I live to help wx-kind
I live to help wx-kind
Posts: 162
Joined: Mon Sep 06, 2004 1:40 am
Location: Argentina

Post by eros » Fri Sep 17, 2004 4:56 pm

Its packaged with wxWidgets, and yes you can.

http://www.opensource.org/licenses/wxwindows.php
...

Hackbert
Experienced Solver
Experienced Solver
Posts: 51
Joined: Sun Sep 12, 2004 11:58 am
Location: Hamburg, Germany
Contact:

Post by Hackbert » Fri Sep 17, 2004 5:48 pm

But I think I have to redistribute my app under the GPL if I use wxWindows... Is that right?

eros
I live to help wx-kind
I live to help wx-kind
Posts: 162
Joined: Mon Sep 06, 2004 1:40 am
Location: Argentina

Post by eros » Fri Sep 17, 2004 6:00 pm

No.

http://www.wxwidgets.org/newlicen.htm

"The wxWidgets 2 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."

There's a few examples such us Dialog Blocks.

http://www.anthemion.co.uk/dialogblocks/
...

caseyodonnell
Knows some wx things
Knows some wx things
Posts: 31
Joined: Fri Sep 10, 2004 1:03 pm
Location: Troy, NY
Contact:

Post by caseyodonnell » Fri Sep 17, 2004 6:45 pm

Exactly. This is one of many cool aspects of wxWidgets. QT windows windows licencing scheme is precisely what drew me to wxWidgets.
eros wrote: "The wxWidgets 2 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."

cg
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 201
Joined: Sun Aug 29, 2004 12:33 am
Location: Canada
Contact:

Post by cg » Fri Sep 17, 2004 7:06 pm

You need to be really thourough with licensing. You can start at this link

http://www.wxwindows.org/newlicen.htm

You should also get yourself familiar with GPL and Lesser GPL (many links):

http://www.gnu.org/licenses/licenses.html

CG

Hackbert
Experienced Solver
Experienced Solver
Posts: 51
Joined: Sun Sep 12, 2004 11:58 am
Location: Hamburg, Germany
Contact:

Post by Hackbert » Fri Sep 17, 2004 7:58 pm

Did I really understand it? The binary version of an app doesn't have to be published under the GPL? This is really cool!

cg
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 201
Joined: Sun Aug 29, 2004 12:33 am
Location: Canada
Contact:

Post by cg » Sat Sep 18, 2004 12:05 am

What I understand is, if you statically link against an GPL'd library then you have to make your source available. On linux for example you are going to have to check every library along the way to make sure you are not statically linking against a GPL'd library.

Unless I have it all backwards... :D

CG

cg
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 201
Joined: Sun Aug 29, 2004 12:33 am
Location: Canada
Contact:

Post by cg » Sat Sep 18, 2004 12:11 am

I looked at wx and found where this was mentioned: docs/readme.txt

Snip:

However, if you distribute wxGTK or wxMotif (with Lesstif) version
of your application, don't forget that it is linked against
GTK+ (or Lesstif) which is covered by LGPL *without* exception
notice. Under Linux systems your app is probably linked
against LGPL glibc as well. Please read carefully LGPL, section 6.
which describes conditions for distribution of closed source applications
linked against LGPL library. Basically you should link dynamically and
include source code of LGPL libraries with your product (unless it is
already present in user's system - like glibc usually is).
If compiled with --enable-odbc (Unix only), wxWidgets library will
contain iODBC library which is covered by LGPL.

User avatar
Ryan Norton
Moderator
Moderator
Posts: 1319
Joined: Mon Aug 30, 2004 6:01 pm

Post by Ryan Norton » Sat Sep 18, 2004 4:37 am

Check out the wiki page about this -
http://wiki.wxwidgets.org/wiki.pl?Distr ... plications
[Mostly retired moderator, still check in to clean up some stuff]

KaReL
Experienced Solver
Experienced Solver
Posts: 78
Joined: Mon Aug 30, 2004 8:52 am
Contact:

Post by KaReL » Sat Sep 18, 2004 7:32 am

On a sidenote... If you use GPL code, you do not have to release your source (as far as I can understand). You only have to release your bytecode (.obj-files in VisualC, .o in GCC-compilers), so that the end-people who want to compile it against another version of the library, will be able to do that. Or is that the lesser GPL-thing?
wxWidgets: SVN/trunk
OS: WinXP/2 + Ubuntu + Mac 10.4.11
Compiler: VS2005 + GCC 4.2 + GCC 4.0.1
-----
home: http://www.salvania.be

User avatar
Ryan Norton
Moderator
Moderator
Posts: 1319
Joined: Mon Aug 30, 2004 6:01 pm

Post by Ryan Norton » Sat Sep 18, 2004 7:36 am

KaReL wrote:On a sidenote... If you use GPL code, you do not have to release your source (as far as I can understand). You only have to release your bytecode (.obj-files in VisualC, .o in GCC-compilers), so that the end-people who want to compile it against another version of the library, will be able to do that. Or is that the lesser GPL-thing?
Nope - that's LGPL.
[Mostly retired moderator, still check in to clean up some stuff]

KaReL
Experienced Solver
Experienced Solver
Posts: 78
Joined: Mon Aug 30, 2004 8:52 am
Contact:

Post by KaReL » Sat Sep 18, 2004 7:38 am

Ah ok ;-)

Thanks
wxWidgets: SVN/trunk
OS: WinXP/2 + Ubuntu + Mac 10.4.11
Compiler: VS2005 + GCC 4.2 + GCC 4.0.1
-----
home: http://www.salvania.be

Post Reply