On Tue, May 24, 2011 at 10:07 AM, Gerald Storer <[email protected]> wrote:
> On 24/05/2011 2:16 AM, Jun Koi wrote:
>>
>> On Tue, May 24, 2011 at 12:30 AM, Jun Koi<[email protected]>  wrote:
>>>
>>> hi,
>>>
>>> i am on Windows XP. i have a problem running the sample systray code
>>> at
>>> http://qt.gitorious.org/pyside/pyside-examples/blobs/e5d379f38bf03406056e8b14af95ae36a0a1de08/examples/desktop/systray/systray.py.
>>>
>>> here is what i did:
>>>
>>> - install Python 2.7 to c:\python27
>>> - install pyside version 1.0.2, using all default options
>>> - download all the pyside-examples code, then from the console, chdir
>>> to "examples\desktop\systray\"
>>>
>>> then i run:
>>>
>>>> python systray.py
>>>
>>> the demo works as expected, but the icon of this sample is not shown
>>> on the systray. what can i do to fix this?
>>>
>>> i googled around for a long time, and never see any solution to fix
>>> this. i even found the link at:
>>>
>>> http://stackoverflow.com/questions/5953352/loading-an-image-using-qpixmap
>>>
>>> but this doesnt help, as my qt.conf looks OK, as below:
>>>
>>> --------------
>>> [Paths]
>>> Prefix = C:/Python27/Lib/site-packages/PySide
>>> Binaries = .
>>> Plugins = plugins
>>> Translation = translation
>>> -------------
>>>
>>> so how can i fix this problem?
>>
>> i can confirm that the very same sample works very well on Linux. so
>> it must be of some wrong configuration on Windows with default PySide
>> installation, so icon is not properly drawn on the systray?
>>
>> thanks,
>> J
>
> I wrote that stackoverflow answer.   Did you try check the other two things
> I suggested?  That is, the system path variable and that the plugin dlls are
> actually where they are suppose to be?
>

oops, i missed that part. yes, i added
C:/Python27/lib/site-packages/PySide in my PATH, and it works now :-)

i think the default installation should do that for me, no? or at
least this should be documented somewhere, not on Stackoverflow. this
is so confused.

thanks so much, Gerald!

Jun
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to