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 1113 - Instantiating QObject in user-defined QML element's constructor crashes if instantiated from QML
: Instantiating QObject in user-defined QML element's constructor crashes if in...
Status: RESOLVED FIXED
Product: PySide
Classification: Unclassified
Component: QtDeclarative
: HEAD
: PC All
: P2 normal
Assigned To: Paulo Alcantara
:
:
:
  Show dependency treegraph
 
Reported: 2012-01-04 22:41 EET by Sergejs Kovrovs
Modified: 2012-01-18 23:42 EET (History)
9 users (show)

See Also:


Attachments
line `obj = QtCore.QObject()` causing the crash (676 bytes, text/x-python-script)
2012-01-04 22:41 EET, Sergejs Kovrovs
Details
qml code (243 bytes, text/plain)
2012-01-04 22:44 EET, Sergejs Kovrovs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergejs Kovrovs 2012-01-04 22:41:42 EET
Created attachment 475 [details]
line `obj = QtCore.QObject()` causing the crash

If user-defined QML element have QObject-derived member or have to create one
in __init__ method, it will crash if instantiated from QML.
Comment 1 Sergejs Kovrovs 2012-01-04 22:44:28 EET
Created attachment 476 [details]
qml code
Comment 2 Paulo Alcantara 2012-01-18 23:42:29 EET
Hi,

Thanks for the report!

This bug has been fixed on Shiboken commit
f79304bb37a5a5ef4b7e6ca4ecba2d5f07b9361c and PySide commit
3aba7ebbf7ae05804d96dc1db9edad3926c89ee5.