Qt4 has an extra directory of image plugins that you need. These are in ${PREFIX}/lib/qt4-mac
I have to put these inside my application bundle and then use install_name_tool to change the library dependency paths. I can send more-specific instructions once I get my application working. - boyd Boyd Waters National Radio Astronomy Observatory http://www.aoc.nrao.edu/~bwaters On Sep 19, 2007, at 12:15 PM, Ronald Oussoren wrote: > > On 19 Sep, 2007, at 7:14, Emanuele Santos wrote: > >> Hi, >> >> I am having problems to show jpeg images on my bundled application >> using pyqt4. >> I know that the problem is with the qt plugins. How does py2app >> handle them? Because if try to run from my source tree it works fine. > > Py2app doesn't handle qt plugins, at least not if they are seperate > object files that aren't referenced from python extensions or the > like. > > Py2app used to have a recipe for correctly handling pyqt application, > but that was removed because pyqt changed and nobody volunteered a new > recipe. We need at least information about how to manually fix the > app bundle that py2app creates, but a complete recipe (like the ones > in py2app.recipes) would be even better. > > Ronald > > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig