Re: [PyQt] License for embedded PyQt in Qt C++ app

2009-12-18 Thread Oliver Heyme
: > On Fri, 18 Dec 2009 17:26:01 +0100, Oliver Heyme > wrote: >> Hej, >> >> We are currently investigating the foundation for an application we start >> to develop beginning next year! >> It will be a mostly internally used software but we are planning to give &

[PyQt] License for embedded PyQt in Qt C++ app

2009-12-18 Thread Oliver Heyme
Hej, We are currently investigating the foundation for an application we start to develop beginning next year! It will be a mostly internally used software but we are planning to give it out for free to some partners! So, we already have chosen Qt with the LGPL for the application since we don'

Re: [PyQt] QMap and unsigned int

2009-11-27 Thread Oliver Heyme
Okay, that was easy to fix! Thanks for the quick reply, Oli On Fri, Nov 27, 2009 at 10:22 AM, Phil Thompson wrote: > On Fri, 27 Nov 2009 10:08:36 +0100, Oliver Heyme > wrote: >> Hej, >> >> I am using (on Windows with Qt 4.6_rc) the latest versions of sip and >&

[PyQt] QMap and unsigned int

2009-11-27 Thread Oliver Heyme
Hej, I am using (on Windows with Qt 4.6_rc) the latest versions of sip and PyQt4. I having some trouble with the QMap. On of my classes has the following method: const QMap* materialList() const; When I am using this in the sip-file for the class I get the error: sip: LBBApplication::materialL

Re: [PyQt] SIPing a subclass of QApplication

2009-03-30 Thread Oliver Heyme
I copied some core from qapplication.sip and now it's working fine! Thanks for the fast answers (all of them :) )! Oli On Mon, Mar 30, 2009 at 2:26 PM, Phil Thompson wrote: > On Mon, 30 Mar 2009 14:21:30 +0200, Oliver Heyme > wrote: >> Hi (me again :) ), >> >> I h

[PyQt] SIPing a subclass of QApplication

2009-03-30 Thread Oliver Heyme
Hi (me again :) ), I have Python 3 embedded in my C++ QT-application and now would like to export my most important classes to Python to be able to "script" the application. I started with LBBApplication which is inherited from QApplication. Now I have the problem with the constructor of my class

[PyQt] SIP_STATIC_MODULE bug?

2009-03-30 Thread Oliver Heyme
Hi, I compile my modules with the SIP_STATIC_MODULES flag! But I get a lot of errors! When I checked the generated sources and it seems like there is a bug in the following lines. #if defined(SIP_STATIC_MODULE) extern "C" void SIP_MODULE_ENTRY() #else PyMODINIT_FUNC SIP_MODULE_ENTRY() #endif If

[PyQt] sip: QFileIconProvider is undefined ??

2009-03-30 Thread Oliver Heyme
Hi, I am trying to create a module for my own derivate of the QApplication class with the latest SIP and PyQt snapshots! The sip looks like this: %Module LBBApplication 0 %Import QtGui/QtGuimod.sip class LBBApplication : QApplication { %TypeHeaderCode #include "Core/LBBApplication.h" %End pub

Re: [PyQt] Symbol not found: _sipQtConnect on Mac OSX 10.5

2009-03-26 Thread Oliver Heyme
08 PM, Phil Thompson > wrote: >> On Wed, 25 Mar 2009 10:05:39 +0100, Oliver Heyme >> wrote: >>> Hi, >>> >>> I just wanted to jump on the Python 3 and (Py)Qt 4.5 train. >>> I am on Mac OS X 10.5.6 with Python 3.0.1 installed from the binary >>&

[PyQt] Symbol not found: _sipQtConnect on Mac OSX 10.5

2009-03-25 Thread Oliver Heyme
Hi, I just wanted to jump on the Python 3 and (Py)Qt 4.5 train. I am on Mac OS X 10.5.6 with Python 3.0.1 installed from the binary packages available at python.org and the QT-SDK 4.5 from Trolltech/Nokia! I used the latest snapshots for sip and PyQt. I have two issues: 1. In the configure.py it