[Pythonmac-SIG] py2app and qt jpeg plugin
Ronald Oussoren
ronaldoussoren at mac.com
Thu Sep 20 10:37:22 CEST 2007
On 20 Sep, 2007, at 2:22, Boyd Waters wrote:
> 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.
That would be helpfull in getting a working recipe. A small demo
application that allows me to test the recipe would also be helpfull
(nothing fancy, just something that uses a qt4 plugin).
Ronald
>
>
> - 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 at python.org
>> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
More information about the Pythonmac-SIG
mailing list