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 263 - Invalid conversion of Python list to QVariant
: Invalid conversion of Python list to QVariant
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtCore
: HEAD
: All All
: P5 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-07-13 11:35 EEST by renato filho
Modified: 2010-08-04 15:17 EEST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description renato filho 2010-07-13 11:35:39 EEST
PySide does not support set a QProperty using a python list to be converted to
a QList.


Desired behavior:
During the property set process pyside need convert the python list object to a
QList and use the correct QVariant type to store the value.

Actual behavior:
The current behavior convert any python list to a pyside meta type and store
this on QVariant object.


unit test:
http://qt.gitorious.org/pyside/pyside/blobs/master/tests/QtDeclarative/qdeclarativeview_test.py
Comment 1 renato filho 2010-07-13 14:35:07 EEST
fixed on commit: 

commit bac154b896b39c1e817742ce2213da3e0d346977
Author: Renato Filho <renato.filho@openbossa.org>
Date:   Mon Jul 12 18:45:19 2010 -0300