PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 816 - PySide doesn't integrate well with programs that already have a QApplication instance.
: PySide doesn't integrate well with programs that already have a QApplication ...
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: 1.0.1
: All All
: P2 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-04-07 17:39 EEST by Hugo Parente Lima
Modified: 2011-04-29 18:06 EEST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo Parente Lima 2011-04-07 17:39:14 EEST
If a Qt based program exposes a Python shell you will have problems using
PySide in this shell due to the existence of an QApplication instance.

To test and fix it you need to write a small app that instantiates a
QApplication and loads and executes some Python code, the Python code would
have something like:

x.instance()
x.instance()
x.anymethod()

For more info, see the thread:
http://lists.pyside.org/pipermail/pyside/2011-April/002345.html
Comment 1 Matti Airas 2011-04-07 18:12:44 EEST
Even though this isn't a crasher bug, I wonder would it be prudent to make it
P2 because it blocks experimenting with embedding Python+PySide?
Comment 2 Hugo Parente Lima 2011-04-07 21:29:52 EEST
I have no objections.
Comment 3 Matti Airas 2011-04-08 10:10:14 EEST
Increasing priority on behalf of EM. :-)
Comment 4 Matti Airas 2011-04-08 10:13:53 EEST
(In reply to comment #3)
> Increasing priority on behalf of EM. :-)

Uhh... Sorry, there was a glitch in the matrix. The bug page showed P3 even
after the reload, although the bug history clearly indicates you already
increased the priority. Go figure.
Comment 5 renato filho 2011-04-12 22:52:19 EEST
fixed on pyside commit:

commit d0ad9d27aa1b52d84e0f1fa2b3f0506e6571bb4a
Author: Renato Filho <renato.filho@openbossa.org>
Date:   Mon Apr 11 18:43:41 2011 -0300
Comment 6 renato filho 2011-04-29 18:06:07 EEST
PySide release 1.0.2