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 809 - QtCore.QSysInfo "empty"
: QtCore.QSysInfo "empty"
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtCore
: 1.0.1
: Macintosh Mac OS
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-04-05 16:28 EEST by david.trem
Modified: 2011-05-26 17:04 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 david.trem 2011-04-05 16:28:02 EEST
It seems that QtCore.QSysInfo.ByteOrder as well as
BigEndian and LittleEndian are not defined in PySide
on MacOS:

Using PySide 1.0.1 on MacOs 10.6.6
with Qt 4.7.2 (qt4-mac @4.7.2_0+quartz from macports)

Python 2.6.6 (r266:84292, Dec 27 2010, 08:55:33)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from PySide import QtCore
>>> QtCore.QSysInfo.ByteOrder
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: type object 'PySide.QtCore.QSysInfo' has no attribute
'ByteOrder'
Comment 1 Hugo Parente Lima 2011-04-05 22:09:48 EEST
Thanks for reporting, as it works on X11 maybe it's just a #ifdef on Qt headers
that's causing ApiExtractor to miss this method under OSX.
Comment 2 renato filho 2011-05-04 21:51:51 EEST
fixed on pyside commit:

commit 99ca5568107a4d4ed25dd49611ce4d2acfdfc68a
Author: Renato Filho <renato.filho@openbossa.org>
Date:   Wed May 4 14:12:27 2011 -0300
Comment 3 renato filho 2011-05-26 17:04:11 EEST
PySide release 1.0.3