Re: [PyQt] swig vs sip

2010-10-04 Thread Jan Haag
On 10/2/10 5:44 PM, Mohammed Rashad wrote: Hi all, I am newbie to sip and swig. I want to make python bindings for the C++ GUI library FOX. Which is the best option swig or sip? please explain you view on the question. You may find the views on this list somewhat biased in favor of sip...

[PyQt] Fwd: Re: help: beforeUpdate QSqlRecord bus error

2010-08-23 Thread Jan Haag
To: Jan Haag haag...@googlemail.com On Aug 23, 2010, at 1:09 PM, Jan Haag wrote: On 8/23/10 5:11 PM, Scott Frankel wrote: Please excuse the re-post. I'm at a loss as to why executing a QSqlRecord object's count() or isEmpty() method results in a bus error crash. Suggestions would

Re: [PyQt] Rapid GUI Programming with Python and Qt

2010-07-27 Thread Jan Haag
Now, if Phil would want to produce binary support for MacOS, he would had to make many choices, only to harvest whining users, because the concrete variant, they _instantly_ need, is missing. Be assured, that those users will have all valid reasons on why they need that special combination,

Re: [PyQt] ANN: SIP v4.10.4 and New PyQt Installer for Python v2.7 Released

2010-07-16 Thread Jan Haag
Hi, just a short notice. sip-4.10.4 doesn't build with Python3 On which OS/Arch? If it's Linux or the like the output of uname -a in a terminal session should give you this information. Besides, in your message you cut off the offending make line half way through... Interestingly, it fails

Re: [PyQt] ANN: SIP v4.10.4 and New PyQt Installer for Python v2.7 Released

2010-07-16 Thread Jan Haag
Afaik, this is available to Python=3.1 as well Seems as if this was not the case: adding the appropiate #ifdef solves the issue -- patch attached. Jan From be17e5f7de296e5de184a5de9db4003c68f786af Mon Sep 17 00:00:00 2001 From: Jan Haag haag...@gmail.com Date: Fri, 16 Jul 2010 17:03:45 +0200

Re: [PyQt] Newbie question - Quicktime

2010-07-09 Thread Jan Haag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So my question now is, can we add other playing capabilities so that it can support more movie type (quicktime in my case). If so, where can they be found ? The point is to install the right codecs for the backend to be able to play the video. In

Re: [PyQt] Processing signals from a called method while the method executes

2010-07-02 Thread Jan Haag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 7/2/10 3:38 PM, alanm wrote: On Friday 02 July 2010 1:17:06 am Andreas Pakulat wrote: Don't block the event-loop with your processor. The signals are delivered as you expect, but the widget is not redrawn with that message. The reason is that

Re: [PyQt] Request for a binary Mac installer

2010-05-08 Thread Jan Haag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5/8/10 2:32 AM, David Boddie wrote: On Fri May 7 17:47:56 BST 2010, William Kyngesburye wrote: Note that while the Qt installers work for multiple system versions (10.4 - 10.6), PyQt must be built for a specific python version. There are also

Re: [PyQt] Request for a binary Mac installer

2010-05-07 Thread Jan Haag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5/7/10 5:39 PM, Edward K. Ream wrote: On Fri, May 7, 2010 at 9:53 AM, Phil Thompson p...@riverbankcomputing.com wrote: On Fri, 7 May 2010 09:18:07 -0500, Edward K. Ream edream...@gmail.com wrote: Hi, The lack of a binary installer for PyQt

Re: [PyQt] Problem with configiring PyQt4,7 on mac os 10.6

2010-02-02 Thread Jan Haag
Depending on the Hardware you have it may also make sense to use the latest Cocoa-build of Qt on Mac, as it has full 64bit support; Look around on Qt's download page, they also have a 32bit-only Carbon build. As far as I know, there is no significant difference in functionality, but the

Re: [PyQt] PyQt installation on mac os x 10.6 fails

2010-01-19 Thread Jan Haag
If you want to use the latest Qt (4.6), download and install the Cocoa 64bit binaries. There are 32bit carbon builds for backward compatibility, this message suggests you have one of these. Except for a few minor bugs these two versions work the same, but Carbon is restricted to 32bit (and

Re: [PyQt] multiple sound files in queue in phonon

2010-01-04 Thread Jan Haag
Then the problem is most likely either with gstreamer (phonon's linux backend) or phonon on linux... You could try updating all of them and if that does not help file a bug report with the respective projects... Try narrowing it down by trying some gstreamer based player (totem?). This

Re: [PyQt] multiple sound files in queue in phonon

2010-01-03 Thread Jan Haag
It works for me... Could you post the last few lines before the exception is raised and the complete stacktrace? BTW: What Python/PyQt/Qt/OS versions are you using? (I'm on Python 3.1.1/ PyQt 4.6.2 / Qt 4.6 / Mac OS 10.6) For now, my best guess would be a minor difference in the way

Re: [PyQt] multiple sound files in queue in phonon

2010-01-03 Thread Jan Haag
There is another thing you could try: This trick is used in (PyQt-Dir)/ examples/phonon/musicplayer.py. Maybe you find a hint on your problem there... At least this was where I first found a solution to it. BTW, sorry for the list traffic... Jan It works for me... Could you post the last

Re: [PyQt] multiple sound files in queue in phonon

2010-01-03 Thread Jan Haag
I'm not sure wether or not there's an official way, but this works: from PyQt4 import pyqtconfig print pyqtconfig._pkg_config You'll have to filter out those variables you're actually interested in... Jan PS: I hope you don't mind CC'ing the list... On Jan 3, 2010, at 9:03 PM, Haarman

Re: [PyQt] multiple sound files in queue in phonon

2010-01-03 Thread Jan Haag
that at your box shorter files also do not work? On Sun, Jan 3, 2010 at 10:36 PM, Haarman haar...@gmail.com wrote: On Sun, Jan 3, 2010 at 8:57 PM, Jan Haag haag...@googlemail.com wrote: There is another thing you could try: This trick is used in (PyQt-Dir)/examples/phonon/musicplayer.py. Maybe

Re: [PyQt] multiple sound files in queue in phonon

2010-01-02 Thread Jan Haag
On Jan 2, 2010, at 10:57 PM, Haarman wrote: Hi, I am trying to figure out how I can add wav files to phonon so it will just play them all in the order added. Somehow phonon just plays one file and then just a very small part of another. Anyone knows what I am doing wrong here? # -*- coding:

[PyQt] More effective handling of QByteArray / QString in Python 3.0

2009-05-23 Thread Jan Haag
Hello, I've been using PyQt4 for some time now and it always worked great. But when I recently switched to Python 3.0 I realized that it handles ByteArray and QString different from Python 2.x. That means that a ByteArray can be converted to bytes and back and QString can be onverted to String