Hello,

Thanks for your answer, but I don't understand at which level a Qt plugin 
would be missing ?
Where and how should I include a Qt plugin ? Is it inside my python script ?
Or should I explicitely declare a given Qt plugin to PyInstaller if it 
didn't detect it as a dependancy ?

My script is using basic functions involving icon files like:
self.setWindowIcon(QtGui.QIcon('calendar.ico'))
or
refreshAction = QtGui.QAction(QtGui.QIcon('refresh_icon.ico'), 'Refresh', 
self)

I can use png or another format, but I undestand that the problem will be 
the same.

I've tried to include all Qt .dll files inside my generated executable's 
directory but it didn't help...

Thanks for your help.

Nicolas.


On Sunday, March 18, 2012 1:26:39 PM UTC+1, Adrià Cereto Massagué wrote:
>
> Maybe you're missing a Qt plugin which gives support for .ico files. I've 
> never used .ico files for icons, but I know that this happens too for .svg 
> and .jpg files. 
> You must include the necessary Qt plugins. An alternative way is to use 
> .png files, which are more portable and your final executable will be 
> smaller, as you will need fewer dll files included.
>
>
> El 17 de març de 2012 6:41, nio <[email protected]> ha escrit:
>
>> Hello,
>>
>> My basic application based on Python 2.7.2+PySide+Qt on win7 is using 
>> some .ico files to create a toolbar.
>>
>> The icons don't appear when running the executable created with 
>> PyInstaller (I tried the onfile and the onedir options), even if I'm 
>> manually copying them locally.
>>
>> Can somebody help me solve this basic issue ?
>>
>> Thanks!
>>
>> Nicolas.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "PyInstaller" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/pyinstaller/-/IZXv7dzmFyIJ.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/pyinstaller?hl=en.
>>
>
>
>
> -- 
> *Adrià Cereto Massagué*
> Ph.D Student
> Nutrigenomics Research Group
> Biochemistry and Biotechnology Department
> Building N4, Campus Sescelades
> Universitat Rovira i Virgili
> Tarragona, Catalonia
>
> Languages: Català, Español, English, Français, Deutsch, Português
>
> Nota importante<http://www.gnu.org/philosophy/no-word-attachments.es.html>| 
> Important 
> Notice <http://www.gnu.org/philosophy/no-word-attachments.html>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pyinstaller/-/lfHUI9MDo5MJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to