[PyQt] python cxfreeze package pyqt app lost icon and tray icon

Von vontio at gmail.com
Thu Sep 16 14:57:07 BST 2010


Hi,Armando thanks for your advice,it seems more complicated.
I wonder is there a simple way to resolve it?

On Thu, Sep 16, 2010 at 9:16 PM, "V. Armando Solé" <sole at esrf.fr> wrote:

>  Hi Von,
>
>
> On 16/09/2010 08:38, Von wrote:
>
>> Hi,
>> Here is my command:
>> cxfreeze --target-dir=AutoOrder gui.py
>> --base-name=D:\Python31\Lib\site-packages\cx_Freeze\bases\Win32GUI.exe
>> --include-path=. -z icon.jpg
>>
>> Both app icon and tray icon used icon.jpg
>>
>> Regards,
>>
>>
> I had similar problems in the past and they were due to the generated
> binary not finding the qt libraries. I do not know if those issues are
> automatically handled by cx_freeze now.
>
> I solved them adding a qtconffile saying where to find them in the frozen
> binary.
>
> You can take a look at the cx_setup.py and the qtconffile files found in
> the pymca svn repository (http://pymca.svn.sourceforge.net/viewvc/pymca/ )
>
> Best regards,
>
> Armando
>
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100916/ae339298/attachment.html>


More information about the PyQt mailing list