pyside / Examples

ATTENTION: This project is deprecated, please refer to PySide2
https://wiki.qt.io/PySide2
361 stars 214 forks source link

Problem with example: Desktop/Systray on Windows #17

Open mponweiser opened 10 years ago

mponweiser commented 10 years ago

Ok, so I am running: Windows 7 / Python 2.7.5 / QT 4.8.6 / PySide 1.2.2, and I tried this repo's example in desktop called systray. Running the binary from the "QT Examples and Demos" launcher was without problems, but launching systray.py did not show the embedded .SVG icons within the icon list and neither in the system tray. I found a related topic on SO and added:

 from PySide import QtSvg, QtXml

to systray.py, which at least now shows the icons. However, when I run both the PySide and binary versions side by side, the "Heart" icon is rendered distorted in the PySide version. I guess that means I should set up the renderer correctly?

My main issue is that this should be noted somewhere in the example's documentation, because I assumed the these examples would run flawlessly out of the box. I would be glad to do that however I am still a PySide-noob :)

EricThomson commented 9 years ago

This example crashes Python for me, on my Windows 7, Python 2.7.6, Qt 4.8.5, PySide 1.2.2 (just get python.exe has stopped working). When I run in PyCharm, in addition to crashing, it lets me know that Process finished with exit code -1073741819 (0xC0000005). I figure within a month or so I will be competent enough to fix this myself, just wanted to put it out there in case there is an obvious fix.

mponweiser commented 9 years ago

No updates yet from my side :(