ronaldoussoren / py2app

py2app is a Python setuptools command which will allow you to make standalone Mac OS X application bundles and plugins from Python scripts.
Other
332 stars 35 forks source link

Problems with icons displaying with PySide #122

Open ronaldoussoren opened 10 years ago

ronaldoussoren commented 10 years ago

Original report by Hok Shun Poon (Bitbucket: fushunpoon, ).


I'm trying to run the systray application from PySide and found that QIcons cannot be loaded properly for some reason. I have used absolute paths to point to those icons.

I've outlined this in this SO question. I don't understand why this is happening.

ronaldoussoren commented 10 years ago

Original comment by Hok Shun Poon (Bitbucket: fushunpoon, ).


I think this could be an issue with the images not being loaded properly as resources in Qt itself.

This SO question and answer seems to have nailed it.

ronaldoussoren commented 10 years ago

Original comment by Ronald Oussoren (Bitbucket: ronaldoussoren, GitHub: ronaldoussoren).


Do you have a sample project that demonstrates the problem?

I don't use PyQt myself and a sample project would make it easier to fix the problem.