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 350 - QString missing from QtCore binding
: QString missing from QtCore binding
Status: CLOSED INVALID
Product: PySide
Classification: Unclassified
Component: QtCore
: 0.6.1
: PC MS Windows XP/Vista/7
: P3 major
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-09-09 13:40 EEST by vijay shan
Modified: 2010-09-10 19:26 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 vijay shan 2010-09-09 13:40:49 EEST
downloaded the latest QT SDK from qt.nokia.com
installed pyside windows bindings from http://www.pyside.org/downloads/
fixed windows paths so that they point to the right qt libraries.
tried to execute pyside examples from gitorious.
examples wouldn't execute.
tried stepping through the source. fails when trying to instatiate QString
imported QtCore from commandline.
looked at QtCore dict. seems to be missing QString.
Comment 1 Hugo Parente Lima 2010-09-09 14:24:29 EEST
There is no QString, all methods returning a QString in the C++ version will
return an unicode object in PySide.

For more info, read:
http://www.pyside.org/docs/pseps/psep-0101.html

If you want your application to be compatible with PySide and PyQt, google for
PyQt API2.

Regards.
Comment 2 vijay shan 2010-09-09 15:11:29 EEST
thats cool. but probably this has to be updated in the pyside-examples too. Ho
would i go about this. Can i just clean up the pyside examples and check them
in?
Comment 3 Hugo Parente Lima 2010-09-09 15:26:15 EEST
We ported a lot of examples in pyside-examples, but probably there are some
examples missing, you can check out the examples in our git repository[1] and
send patches or report bugs for non-ported examples.

[1] http://gitorious.org/pyside-examples
Comment 4 vijay shan 2010-09-09 15:27:28 EEST
Excellent. I can help with that.
Comment 5 Matti Airas 2010-09-10 06:05:07 EEST
I think I have fixed all QString issues from the examples, but some of my fixes
still aren't merged in. I'll try to make the merge request later today.