[PyKDE] Re: [C++-sig] Can boost.python and PyQt be used together?

2002-12-09 Thread Paul F. Kunz
Its me again. This time, I've got my Python extension modules working completely with Boost.Python wrapped alone. That is... [pfkeb@Kunz-pbdsl1 testsuite]$ python Python 2.2.2 (#1, Oct 15 2002, 07:42:56) [GCC 2.95.3 20010315 (release)] on linux2 Type help, copyright, credits or license

Re: [PyKDE] Are Python extenstions built with SIP and Boost.Python incompatible?

2002-12-10 Thread Paul F. Kunz
I mae the test even simplier and still crash... [pfkeb@Kunz-pbdsl1 python]$ python Python 2.2.2 (#1, Oct 15 2002, 07:42:56) [GCC 2.95.3 20010315 (release)] on linux2 Type help, copyright, credits or license for more information. import sys, string from qt import * app = QApplication (

[PyKDE] Interfacing to C++ standard library

2002-12-11 Thread Paul F. Kunz
To complete my SIP based Python extension module, I need to convert from C++ to Python and vica versa an std::vectordouble and std::vectorstd::string. I found some hints in this mailing list's archive dated 13 Apr 2002. Is there a better source of information on how to proceed?

Re: [PyKDE] Re: [C++-sig] Can boost.python and PyQt be used together?

2002-12-11 Thread Paul F. Kunz
On Wed, 11 Dec 2002 14:15:17 -0500, David Abrahams [EMAIL PROTECTED] said: I don't think that's really the right conclusion... or at least, it masks something much deeper. I would very much appreciate it if someone could get me a simple test case I where can easily reproduce this problem

Re: [PyKDE] installing PyQt

2002-12-12 Thread Paul F. Kunz
On Thu, 12 Dec 2002 11:41:09 +0100, =?iso-8859-1?Q?Fran=E7ois_CORRIHONS?= [EMAIL PROTECTED] said: This is a multi-part message in MIME format. --Boundary_(ID_oPBOk6lYlJF2BOkJpVXeWA) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT Hi, I'd like to perform GUI's

Re: [PyKDE] Re: [C++-sig] Can boost.python and PyQt be used toge

2002-12-13 Thread Paul F. Kunz
On Fri, 13 Dec 2002 10:24:46 -0800 (PST), Jim Bublitz [EMAIL PROTECTED] said: Are you sure that you only have a single QApplication instance and that both Boost.Python and PyQt are referencing the same QApplication instance? Yes. Create QApplication with PyQt (SIP) and try to create my

[PyKDE] PyQt fails

2003-01-14 Thread Paul F. Kunz
On a Red Hat Linux 7.2 system I just built sip-3.5 and PyQt 3.5 with gcc 2.95.3. I get immediate failure [pfkeb@Kunz-pbdsl1 RunControl]$ python Python 2.2.2 (#1, Oct 15 2002, 07:42:56) [GCC 2.95.3 20010315 (release)] on linux2 Type help, copyright, credits or license for more information.

Re: [PyKDE] PyQt fails

2003-01-14 Thread Paul F. Kunz
On Tue, 14 Jan 2003 18:03:33 +, Phil Thompson [EMAIL PROTECTED] said: On Tuesday 14 January 2003 5:47 pm, Paul F. Kunz wrote: On a Red Hat Linux 7.2 system I just built sip-3.5 and PyQt 3.5 with gcc 2.95.3. I get immediate failure [pfkeb@Kunz-pbdsl1 RunControl]$ python Python 2.2.2

Re: [PyKDE] PyQt fails

2003-01-14 Thread Paul F. Kunz
On Tue, 14 Jan 2003 18:42:59 +, Phil Thompson [EMAIL PROTECTED] said: There are alternatives that work around the (Qt) bug. Look though the mailing list archives. Oops, looked for the archives before posting but didn't find them. Now i have. Thanks for all the help.

Re: [PyKDE] How to inherit from QWidget

2003-01-20 Thread Paul F. Kunz
On Mon, 20 Jan 2003 13:02:06 -0800 (PST), Jim Bublitz [EMAIL PROTECTED] said: On 20-Jan-03 Paul F. Kunz wrote: I have a class, QtViewWidget which in C++ in herits from QWidget and class in my C++ library. How do I tell SIP to use QWidget from PyQt instead of creating a local QWidget in my

Re: [PyKDE] How to inherit from QWidget

2003-01-20 Thread Paul F. Kunz
On Mon, 20 Jan 2003 13:02:06 -0800 (PST), Jim Bublitz [EMAIL PROTECTED] said: That will also add a bunch of sipqt*.h files to the directory where your sip-generated C++ code is located. It also generated sipsihippoProxysihippo.h (sihippo is the name of my module. Do I need to moc that

Re: [PyKDE] How to inherit from QWidget

2003-01-20 Thread Paul F. Kunz
On Mon, 20 Jan 2003 15:19:29 -0800 (PST), Jim Bublitz [EMAIL PROTECTED] said: Yes, it should have a Q_OBJECT line in it. You can steal the code to do it from PyQt/qt/Makefile. If you build the way PyQt and PyKDE do, it does have the Q_OBJECT and I sold the code from another directory in

Re: [PyKDE] Problem siping with Qt 3.0.3

2003-03-05 Thread Paul F. Kunz
On Wed, 05 Mar 2003 18:13:49 +, Phil Thompson [EMAIL PROTECTED] said: What makes you think that sip doesn't support Qt 3.0.3? Qt 3.0.3 is not in the version.sip file... %Timeline {Qt_1_43 Qt_2_00 Qt_2_1_0 Qt_2_2_0 Qt_2_3_0 Qt_2_3_1 Qt_3_0_0

Re: [PyKDE] Problem siping with Qt 3.0.3

2003-03-05 Thread Paul F. Kunz
On Wed, 05 Mar 2003 11:20:18 -0700, Ken Godee [EMAIL PROTECTED] said: Ok, I'll ask it, what version of sip are you using? 3.5 I've recently compiled and install PyQt on two diff. Rh7.3 machines with Qt 3.0.3 with no problems. My user also had no problems with PyQt. The problem

Re: [PyKDE] Problem siping with Qt 3.0.3

2003-03-05 Thread Paul F. Kunz
On Wed, 05 Mar 2003 09:06:16 -0800, Paul F. Kunz [EMAIL PROTECTED] said: One of my users is having a problem building my software with PyQt 3.5 and the Qt 3.0.3 that came with his Red Hat 7.3 installation. Qt 3.0.3 doesn't appear to be supported by sip, so he tried 3.0.2 and 3.0.4

Re: [PyKDE] Problem siping with Qt 3.0.3

2003-03-05 Thread Paul F. Kunz
On Wed, 05 Mar 2003 20:16:43 +, Phil Thompson [EMAIL PROTECTED] said: Versions are only defined if they are needed. They are needed if a version of Qt changes the API is some way that affects PyQt. (Take Trolltech's claims about maintaining binary compatibility with a large sack of

[PyKDE] Exceptions

2003-03-21 Thread Paul F. Kunz
Is it possible with SIP to throw a C++ exception in C++, catch it, then raise a Python exception? ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde