[PyQt] Help with PyQt licensing question

Kyle Covington kyle at red-r.org
Fri Oct 22 03:12:23 BST 2010


What about the other way around?  Lets say that I'm working on an
application that allows plugins.  My code is open sourced so anyone can see
how to make extensions.

There would really be no way that I or any other project could prevent
someone else from making a plugin that was closed sourced.  Is it
my responsibility to somehow prevent others from making plugins?  Or is it
their responsibility to make sure that their code is open?  I lean to the
former myself, but I'm not a lawyer.

Also thinking about Elias's question.  Windows is closed sourced and
commercial.  Windows is used to open and run Python and Windows is able to
execute Python scripts which can run PyQt.  So by extension GPL should not
be allowed on a Windows computer???

Kyle

On Thu, Oct 21, 2010 at 6:00 AM, <pyqt-request at riverbankcomputing.com>wrote:

> Send PyQt mailing list submissions to
>        pyqt at riverbankcomputing.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> or, via email, send a message with subject or body 'help' to
>        pyqt-request at riverbankcomputing.com
>
> You can reach the person managing the list at
>        pyqt-owner at riverbankcomputing.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of PyQt digest..."
>
>
> Today's Topics:
>
>   1. Re: build pyqt for python2 and python3?? (Phil Thompson)
>   2. Help with PyQt licensing question (Elias Bachaalany)
>   3. Re: Passing a QWidget* wrapped in a PyCObject from a C++
>      program? (Elias Bachaalany)
>   4. Re: Help with PyQt licensing question (Phil Thompson)
>   5. Re: Passing a QWidget* wrapped in a PyCObject from a C++
>      program? (Phil Thompson)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 21 Oct 2010 08:58:03 +0100
> From: Phil Thompson <phil at riverbankcomputing.com>
> To: BLACK HAWK <el_sakir12 at yahoo.com>
> Cc: pyqt <pyqt at riverbankcomputing.com>
> Subject: Re: [PyQt] build pyqt for python2 and python3??
> Message-ID: <b0f5daee395d44b49adb7019c4693e7b at localhost>
> Content-Type: text/plain; charset=UTF-8
>
> On Wed, 20 Oct 2010 23:04:58 -0700 (PDT), BLACK HAWK
> <el_sakir12 at yahoo.com>
> wrote:
> > hi guys,
> > i have question about building pyqt for both python2 & python3 on the
> same
> > pc
> >
> > i want to have both of them as i develop all my apps on python2
> > and i want to start porting them to python3
> >
> > i tried build python2-pyqt and all go well but i notic that some libs
> > (pyuic4,pyrcc,sip-lib,...)
> > are installed in general places and the same places for python3
> >
> > this will make python3 replace python2 installed file
> >
> > so is there a way to build python2 and rename binary files to something
> > like
> > (py2uic4,py2rcc)
> > and for python3 it will be (py3uic4,py3rcc)
> > and do the same for all libs installed outside python dist-utils folder
> >
> > i currently use ubuntu 10.10
> > and for building
> > 1-python2 configure.py ----> in case of python3 --> python3 configure.py
> > 2-make
> > 3-sudo checkinstall -D make install
> >
> > thanks in advance...
>
> The files that are installed in common locations (pyuic4, pyrcc4,
> pylupdate4) will work with both Python2 and Python3.
>
> Phil
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 21 Oct 2010 11:40:53 +0200
> From: Elias Bachaalany <lallousz-pyqt4 at yahoo.com>
> To: pyqt at riverbankcomputing.com
> Subject: [PyQt] Help with PyQt licensing question
> Message-ID: <i9p1r4$a1t$1 at dough.gmane.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hello,
>
> I have the following situation and need some help regarding licensing of
> PyQt.
>
> There is a main program (main.exe) that is extensible via plugins.
> main.exe does not know about the nature of its plugins.
>
> The plugins are general purpose, they can do many things to change the
> behavior of main.exe.
>
> main.exe is closed source.
>
> One plugin could be hosting LUA scripting language.
> Another plugin can be not related to scripting.
>
> There is yet another plugin (plgpython.dll) that hosts Python and is
> open source (with New BSD License). Since plgpython.dll hosts Python, it
> can also host PyQt.
>
> Now my question is: do we need a commercial license of PyQt if we own
> main.exe (paid for it) and use the open source / free plgpython.dll
> program to run PyQt scripts?
>
> Thanks,
> Elias
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 21 Oct 2010 11:45:25 +0200
> From: Elias Bachaalany <lallousz-pyqt4 at yahoo.com>
> To: pyqt at riverbankcomputing.com
> Subject: Re: [PyQt] Passing a QWidget* wrapped in a PyCObject from a
>        C++     program?
> Message-ID: <i9p23k$a1t$2 at dough.gmane.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Phil,
>
> Using Python 2.6, I could make it work with:
>
> sip.wrapinstance(sip.voidptr(the_widget).__int__(), QtGui.QWidget)
>
> But only after figuring out that I also had to recompile SIP with
> SIP_SUPPORT_PYCOBJECT
>
> Thanks a lot.
>
> --
> Elias
> On 10/18/2010 2:04 PM, Phil Thompson wrote:
> > On Mon, 18 Oct 2010 11:45:07 +0200, Elias Bachaalany
> > <lallousz-pyqt4 at yahoo.com>  wrote:
> >> Hello
> >>
> >> I have a C++ program that creates a QWidget* and can return that to
> > Python.
> >>
> >> I want to pass that QWidget * to PyQt so that the newly created widgets
> >> have this widget as their parent. How to do that?
> >>
> >> In C++:
> >>
> >> QWidget *theWidget;
> >> PyObject *get_widget()
> >> {
> >>     return PyCObject_FromVoidPtr(theWidget, NULL)
> >> }
> >>
> >> Now is it possible to get this QWidget* and give to PyQt / QWidget
> > class?
> >
> > If your PyCObject is accessible from Python then you should be able to
> > do...
> >
> > import sip
> > from PyQt4.QtGui import QWidget
> >
> > widget = sip.wrapinstance(sip.voidptr(pycobj, QWidget))
> >
> > Phil
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 21 Oct 2010 11:00:00 +0100
> From: Phil Thompson <phil at riverbankcomputing.com>
> To: Elias Bachaalany <lallousz-pyqt4 at yahoo.com>
> Cc: pyqt at riverbankcomputing.com
> Subject: Re: [PyQt] Help with PyQt licensing question
> Message-ID: <3c050076e97fd6edc91eb6889fc26b6e at localhost>
> Content-Type: text/plain; charset=UTF-8
>
> On Thu, 21 Oct 2010 11:40:53 +0200, Elias Bachaalany
> <lallousz-pyqt4 at yahoo.com> wrote:
> > Hello,
> >
> > I have the following situation and need some help regarding licensing of
>
> > PyQt.
> >
> > There is a main program (main.exe) that is extensible via plugins.
> > main.exe does not know about the nature of its plugins.
> >
> > The plugins are general purpose, they can do many things to change the
> > behavior of main.exe.
> >
> > main.exe is closed source.
> >
> > One plugin could be hosting LUA scripting language.
> > Another plugin can be not related to scripting.
> >
> > There is yet another plugin (plgpython.dll) that hosts Python and is
> > open source (with New BSD License). Since plgpython.dll hosts Python, it
>
> > can also host PyQt.
> >
> > Now my question is: do we need a commercial license of PyQt if we own
> > main.exe (paid for it) and use the open source / free plgpython.dll
> > program to run PyQt scripts?
>
> Yes - you cannot use the GPL version of PyQt in this context. Depending on
> the nature of the application, your users may also require commercial
> licenses. There are both commercial and technical means that can be used to
> resolve this - contact me by email if you want to discuss them.
>
> Phil
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 21 Oct 2010 11:16:41 +0100
> From: Phil Thompson <phil at riverbankcomputing.com>
> To: Elias Bachaalany <lallousz-pyqt4 at yahoo.com>
> Cc: pyqt at riverbankcomputing.com
> Subject: Re: [PyQt] Passing a QWidget* wrapped in a PyCObject from a
>        C++ program?
> Message-ID: <35421991ec023b181e1d71a3fcf40b8e at localhost>
> Content-Type: text/plain; charset=UTF-8
>
> On Thu, 21 Oct 2010 11:45:25 +0200, Elias Bachaalany
> <lallousz-pyqt4 at yahoo.com> wrote:
> > Hi Phil,
> >
> > Using Python 2.6, I could make it work with:
> >
> > sip.wrapinstance(sip.voidptr(the_widget).__int__(), QtGui.QWidget)
>
> sip.wrapinstance(int(sip.voidptr(the_widget)), QtGui.QWidget)
>
> ...is a bit nicer.
>
> > But only after figuring out that I also had to recompile SIP with
> > SIP_SUPPORT_PYCOBJECT
>
> Whoops - that's a bug.
>
> Phil
>
>
> ------------------------------
>
> _______________________________________________
> PyQt mailing list
> PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
> End of PyQt Digest, Vol 75, Issue 46
> ************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20101021/d6ded367/attachment-0001.html>


More information about the PyQt mailing list