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 707 - Icons and images are not showed
: Icons and images are not showed
Status: CLOSED INVALID
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: All All
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-03-01 15:41 EET by fraph24
Modified: 2011-04-01 23:15 EEST (History)
8 users (show)

See Also:


Attachments
Test code (235 bytes, application/octet-stream)
2011-03-01 16:12 EET, fraph24
Details
Screenshot (69.97 KB, image/png)
2011-03-01 16:13 EET, fraph24
Details
New testcase (40.00 KB, application/x-tar)
2011-03-04 14:05 EET, fraph24
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fraph24 2011-03-01 15:41:43 EET
In my system (RHEL 6 x86_64, PySide git version, QT SDK 2010.05), icons and
images are not showed.

QToolButton.setIcon has no effect
QWebView shows a white rectangular with a blue little icon inside, like a
broken link.

No errors in my terminal. The same code with PyQt4 (and distro default qt libs)
works.
Comment 1 fraph24 2011-03-01 16:12:50 EET
Created attachment 276 [details]
Test code
Comment 2 fraph24 2011-03-01 16:13:13 EET
Created attachment 277 [details]
Screenshot
Comment 3 fraph24 2011-03-02 08:25:03 EET
Windows, PySide 1.0.0-rc1, Python 2.6, QT 4.7, it works correctly.
Comment 4 Hugo Parente Lima 2011-03-02 19:30:08 EET
On your example code you don't use QToolButton class, besides it works for me
showing all images correctly.
Comment 5 fraph24 2011-03-02 19:39:23 EET
(In reply to comment #4)
> On your example code you don't use QToolButton class, besides it works for me
> showing all images correctly.

The problem is still the same (image not loaded).
I don't know why it happens. No error during compilation, I've compiled from
pyside git against latest qt sdk. No errors showed.
Comment 6 fraph24 2011-03-04 14:05:18 EET
Created attachment 279 [details]
New testcase

More informations: only png images are showed, but not jpg and svg ones.
Comment 7 Hugo Parente Lima 2011-03-04 14:55:40 EET
I still not able to reproduce it.

Another problem is that in your example PySIde has no rule in loading any
image, all is done internally by Qt and QtWebKit.
Comment 8 fraph24 2011-03-04 16:11:38 EET
(In reply to comment #7)
> I still not able to reproduce it.
> 
> Another problem is that in your example PySIde has no rule in loading any
> image, all is done internally by Qt and QtWebKit.

I think that it could be a QT SDK Linux bug. I've also tried to install
libjpeg-devel and librsvg-devel, and then compile PySide git, but nothing
changed. No errors, no compile warning.

This bug can be closed for me. I suppose it's related only with qt sdk.
Comment 9 fraph24 2011-03-04 17:04:56 EET
As I said, it could be a QT SDK bug, so I've reported it on
http://bugreports.qt.nokia.com/browse/QTBUG-17943
Comment 10 Hugo Parente Lima 2011-04-01 23:15:55 EEST
Closing bug after release of PySide 1.0.1.