Re: [PyQt] Bug report: multiple QApplication instances cause a segfault

2011-06-22 Thread David Townshend
If it vanishes, it implies a segfault which you will probably see if you run idle form the command line. You should be able to get a backtrace by running idle through gdb, i.e, from the command line, run "gdb idle". Then in gdb type "run". Idle should start as usual, so get it to crash. Then withi

Re: [PyQt] Bug report: multiple QApplication instances cause a segfault

2011-06-22 Thread Algis Kabaila
On Thu, 23 Jun 2011 03:23:36 PM David Townshend wrote: > On Thu, Jun 23, 2011 at 6:14 AM, Algis Kabaila wrote: > > On Thu, 23 Jun 2011 08:17:04 AM Baz Walter wrote: > > > On 22/06/11 20:49, David Townshend wrote: > > > > On Wed, Jun 22, 2011 at 2:34 PM, Baz Walter wrote: > > > >> according to the

Re: [PyQt] Bug report: multiple QApplication instances cause a segfault

2011-06-22 Thread David Townshend
On Thu, Jun 23, 2011 at 6:14 AM, Algis Kabaila wrote: > On Thu, 23 Jun 2011 08:17:04 AM Baz Walter wrote: > > On 22/06/11 20:49, David Townshend wrote: > > > On Wed, Jun 22, 2011 at 2:34 PM, Baz Walter wrote: > > >> according to the qt docs, only one application object should be > created > > >>

Re: [PyQt] Bug report: multiple QApplication instances cause a segfault

2011-06-22 Thread Algis Kabaila
On Thu, 23 Jun 2011 08:17:04 AM Baz Walter wrote: > On 22/06/11 20:49, David Townshend wrote: > > On Wed, Jun 22, 2011 at 2:34 PM, Baz Walter wrote: > >> according to the qt docs, only one application object should be created > >> at a time, and there is a global qApp pointer which refers to the >

Re: [PyQt] Bug report: multiple QApplication instances cause a segfault

2011-06-22 Thread Baz Walter
On 22/06/11 20:49, David Townshend wrote: On Wed, Jun 22, 2011 at 2:34 PM, Baz Walter wrote: according to the qt docs, only one application object should be created at a time, and there is a global qApp pointer which refers to the current instance. this suggests that, in pyqt, something like t

Re: [PyQt] Bug report: multiple QApplication instances cause a segfault

2011-06-22 Thread David Townshend
On Wed, Jun 22, 2011 at 2:34 PM, Baz Walter wrote: > On 21/06/11 17:04, David Townshend wrote: > >> The problem is that creating (and quitting) multiple QApplications in >> succession causes a segfault. This situation tends to occur in unit >> tests, >> particularly in testing subclasses of QApp

Re: [PyQt] Drag-and-drop editing in QListWidget or QListView

2011-06-22 Thread Nathan Weston
On 6/7/2011 7:53 AM, Nathan Weston wrote: On 06/02/2011 07:42 PM, David Boddie wrote: The draganddrop/puzzle example provided with PyQt uses a QListWidget to display a collection of puzzle pieces that can be dropped inside or outside the list, though it's not exactly the most user friendly int

Re: [PyQt] Bug report: multiple QApplication instances cause a segfault

2011-06-22 Thread Baz Walter
On 21/06/11 17:04, David Townshend wrote: The problem is that creating (and quitting) multiple QApplications in succession causes a segfault. This situation tends to occur in unit tests, particularly in testing subclasses of QApplication. The following snippet illustrates the problem: >>> fro

Re: [PyQt] Bug report: multiple QApplication instances cause a segfault

2011-06-22 Thread David Townshend
On Tue, Jun 21, 2011 at 11:21 PM, Algis Kabaila wrote: > On Wed, 22 Jun 2011 02:04:25 AM David Townshend wrote: > > Hi > > > > I'm not sure of the appropriate place to file a PyQt bug report, so I > hope > > its ok to send it to this mailing list. > > > > The problem is that creating (and quitting

Re: [PyQt] Passing image using SIP

2011-06-22 Thread Jarosław Białas
On 21.06.2011 20:02, David Boddie wrote: On Mon Jun 20 23:46:27 BST 2011, Jarosław Białas wrote: I wanted to create code fragment that will pass an object containg image or pointer to this object from Python to C++ function. I tried to create function: void loadImage(QImage* image); Then I crea

[PyQt] licensing

2011-06-22 Thread KONTRA, Gergely
Hi all! Maybe a bit offtopic and theoretical question: Suppose I'd like to write an app in python and Qt. I evaluate the possibilities, and see, that pyqt is more stable now, so I decide to begin coding with it (with the free version). When I make this decision, I already think to wait for a more