Re: [PyQt] Help with PyQt licensing question

2010-10-22 Thread Elias Bachaalany
On 10/22/2010 4:12 AM, Kyle Covington wrote: 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

[PyQt] Help with PyQt licensing question

2010-10-21 Thread Elias Bachaalany
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

Re: [PyQt] Passing a QWidget* wrapped in a PyCObject from a C++ program?

2010-10-21 Thread Elias Bachaalany
Oct 2010 11:45:07 +0200, Elias Bachaalany lallousz-py...@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

Re: [PyQt] Compiling PyQt 4 with QT_NAMESPACE=x

2010-10-19 Thread Elias Bachaalany
Thank you Phil. For the plugin I am developing (which links to a different namespace set of QT dlls) can I provide precompiled PyQt (*.pyd) files for download meanwhile? Regards, Elias On 10/18/2010 6:39 PM, Phil Thompson wrote: On Mon, 18 Oct 2010 17:36:51 +0200, Elias Bachaalany lallousz

[PyQt] Passing a QWidget* wrapped in a PyCObject from a C++ program?

2010-10-18 Thread Elias Bachaalany
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

[PyQt] Compiling PyQt 4 with QT_NAMESPACE=x

2010-10-18 Thread Elias Bachaalany
Hello, I was trying to compile PyQt while using Qt that is configured with a different namespace. The steps to do that: 1. Configure sip with: configure.py DEFINES+=QT_NAMESPACE=x 2. Apply the attached patch (tested with PyQt 4.7.7 and Qt SDK 4.6.3) 3. Configure PyQt with: configure.py