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 1071 - QLibraryInfo.location returning wrong location on Windows
: QLibraryInfo.location returning wrong location on Windows
Status: NEW
Product: PySide
Classification: Unclassified
Component: QtCore
: 1.0.7
: PC MS Windows XP/Vista/7
: P3 normal
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2011-11-28 06:43 EET by Lang Sharpe
Modified: 2012-03-08 16:57 EET (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 Lang Sharpe 2011-11-28 06:43:33 EET
The path returned by QLibraryPath is incorrect, if an Application hasn't been
created.


import sys
from PySide.QtCore import *
print QLibraryInfo.location(QLibraryInfo.BinariesPath)

Outputs: C:\Qt\4.7.4\bin


import sys
from PySide.QtCore import *
from PySide.QtGui import *
app = QApplication(sys.argv)
print QLibraryInfo.location(QLibraryInfo.BinariesPath)

Outputs: C:/Python27/Lib/site-packages/PySide , which is correct.

This is useful for executing one of the programs in a Cross Platform manner.
Comment 1 Hugo Parente Lima 2011-11-29 21:39:19 EET
Need further investigation to check if there's something on PySide side that
can be done to fix it or if it's just a Qt behavior due to the way Qt libraries
is loaded when PySide modules are loaded.
Comment 2 Matti Airas 2012-03-08 16:57:24 EET
PySide is now a Qt-addon and uses Qt Project's JIRA tool for tracking bugs.
Please verify that the bug is still valid and re-submit it in the address
below:

https://bugreports.qt-project.org/

Sorry for the inconvenience!