<div dir="ltr">I dont know then... I've installed Qt5.4 (PyQt5.4 and so on like i said, in a different path, to no mess with Qt distro installation.) but does not work... even the check of QSystemTrayIcon says that there is no system tray available.<br><br>:(<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-08 2:13 GMT-03:00 Dimitrios Glentadakis <span dir="ltr"><<a href="mailto:dglent@free.fr" target="_blank">dglent@free.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here it works the icon but still there are problems, look at the menu 'Cities' the submenu is ignored:<br>
<a href="http://glenbox.free.fr/files/screenshots/pyqt5_systray.png" target="_blank">http://glenbox.free.fr/files/<u></u>screenshots/pyqt5_systray.png</a><br>
<br>
Another incombatibility (among others)<br>
The hovered signal is not emitted:<br>
<a href="http://glenbox.free.fr/files/screenshots/hovered_not_emitted.png" target="_blank">http://glenbox.free.fr/files/<u></u>screenshots/hovered_not_<u></u>emitted.png</a><br>
<br>
It works in a 'normal' system tray:<br>
<a href="http://glenbox.free.fr/files/screenshots/hovered_emitted.png" target="_blank">http://glenbox.free.fr/files/<u></u>screenshots/hovered_emitted.<u></u>png</a><br>
<br>
<br>
Την Τετάρτη, 7 Ιανουαρίου 2015 6:32:25 Μ.Μ. CEST, Gustavo A. Díaz γράψατε:<div class="HOEnZb"><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi!<br>
<br>
Ok, today id did a lot of work trying to Install Qt5.4 in Kubuntu. So, I did it altogether with PyQt5.4 (latest Sip and QScintilla).<br>
Still, no systray icon :(<br>
Just in case I've tested if Qt5.4 is being used (also PyQt5.4):<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
from PyQt5.QtCore import QT_VERSION_STR as __qtversion_<br>
from PyQt5.QtCore import PYQT_VERSION_STR as __pyqtversion__<br>
print(__qtversion_, __pyqtversion__)<br>
</blockquote></blockquote></blockquote>
5.4.0 5.4<br>
<br>
Any suggestion? :(<br>
<br>
Thanks.<br>
<br>
2015-01-06 20:38 GMT-03:00 Dimitrios Glentadakis <<a href="mailto:dglent@free.fr" target="_blank">dglent@free.fr</a>>:<br>
Yes qt5.4, so the problem of the icon has to be fixed in this version<br>
<br>
À mer. janv. 7 00:27:12 2015 GMT+0100, Gustavo A. Díaz a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Already tested that application too (I was searching on the net in case<br>
that was my problem) but does not work either.<br>
<br>
Do you have Qt 5.4? Cause I think the problem is solved there:<br>
<br>
<a href="https://lists.fedoraproject.org/pipermail/devel/2014-March/196343.html" target="_blank">https://lists.fedoraproject.<u></u>org/pipermail/devel/2014-<u></u>March/196343.html</a><br>
<br>
2015-01-06 20:25 GMT-03:00 Dimitrios Glentadakis <<a href="mailto:dglent@free.fr" target="_blank">dglent@free.fr</a>>:<br>
<br>
> You can try with this system tray application:<br>
> <a href="https://github." target="_blank">https://github.</a>.com/dglent/<u></u>meteo-qt<br>
> I will try the pyqt5 example below tomorrow, and i will give feedback.<br>
><br>
> À mer. janv. 7 00:10:43 2015 GMT+0100, Gustavo A. Díaz a écrit :<br>
> > Forgot to mention that even with PyQt5 example of systray does not work:<br>
> ><br>
> > <a href="http://postimg.org/image/gwqqzsjrh/full/" target="_blank">http://postimg.org/image/<u></u>gwqqzsjrh/full/</a><br>
> ><br>
> > 2015-01-06 20:05 GMT-03:00 Gustavo A. Díaz <<a href="mailto:gustavo.diaz@gmail.com" target="_blank">gustavo.diaz@gmail.com</a>>:<br>
> ><br>
> > > Well, Here in Kubuntu (14.10) I don't have the icon on the tray at all<br>
> > > with my App.<br>
> > ><br>
> > > Current versions:<br>
> > ><br>
> > > PyQt5: 5.3.2<br>
> > > Qt5: 5.3.0<br>
> > ><br>
> > > 2015-01-06 19:59 GMT-03:00 Dimitrios Glentadakis <<a href="mailto:dglent@free.fr" target="_blank">dglent@free.fr</a>>:<br>
> > ><br>
> > >><br>
> > >><br>
> > >> À mar. janv. 6 23:35:01 2015 GMT+0100, Gustavo A. Díaz a écrit :<br>
> > >> > Hi,<br>
> > >> ><br>
> > >> > Today I've installed Kubuntu with Plasma Next (KDE 5) in my<br>
> notebook to<br>
> > >> do<br>
> > >> > some test.<br>
> > >> ><br>
> > >> > I have a PyQt5 application that uses QSystemTrayIcon. Since the<br>
> icon in<br>
> > >> the<br>
> > >> > tray now is "missing" (again, in KDE5), I just tested with<br>
> > >> > QSystemTrayIcon.<u></u>isSystemTrayAvailable() giving me False result.<br>
> > >> > I've read about the changes in KDE 5 about this subject but I<br>
> thought<br>
> > >> that<br>
> > >> > this change is a problem for PyQt4/GTk, etc and not for PyQt5 apps.<br>
> > >> ><br>
> > >> > Any idea how I can get ride of this?<br>
> > >> ><br>
> > >> > Thanks in advance<br>
> > >> ><br>
> > >> > --<br>
> > >> ><br>
> > >> > Gustavo A. Díaz<br>
> > >> ><br>
> > >> > <a href="http://artistic.gdnet.com.ar" target="_blank">artistic.gdnet.com.ar</a><br>
> > >> ><br>
> > >> > "Desarrollando un mundo Libre"<br>
> > >> ><br>
> > >> I don't have any problem with the icon (tested in pyqt5, manjaro and<br>
> > >> mageia with plasma5), it appears normaly, but with the submenus of<br>
> the<br>
> > >> systemtray context menu which are not expanded (missing arrow to<br>
> expand).<br>
> > >> Also, for example the hovered() signal when the mouse pass the<br>
> action, is<br>
> > >> not emitted.<br>
> > >><br>
> > >> It seems that the new system tray implementation of plasma5 it is not<br>
> so<br>
> > >> compatible (?)<br>
> > >><br>
> > >> --<br>
> > >> Envoyé depuis mon Jolla<br>
> > >><br>
> > ><br>
> > ><br>
> > ><br>
> > > --<br>
> > ><br>
> > > Gustavo A. Díaz<br>
> > ><br>
> > > <a href="http://artistic.gdnet.com.ar" target="_blank">artistic.gdnet.com.ar</a><br>
> > ><br>
> > > "Desarrollando un mundo Libre"<br>
> > ><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> ><br>
> > Gustavo A. Díaz<br>
> ><br>
> > <a href="http://artistic.gdnet.com.ar" target="_blank">artistic.gdnet.com.ar</a><br>
> ><br>
> > "Desarrollando un mundo Libre"<br>
> ><br>
><br>
> --<br>
> Envoyé depuis mon Jolla<br>
><br>
<br>
<br>
<br>
--<br>
<br>
Gustavo A. Díaz<br>
<br>
<a href="http://artistic.gdnet.com.ar" target="_blank">artistic.gdnet.com.ar</a><br>
<br>
"Desarrollando un mundo Libre"<br>
<br>
</blockquote>
<br>
--<br>
Envoyé depuis mon Jolla<br>
<br>
<br>
<br>
</blockquote>
<br></div></div><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.<u></u>com/mailman/listinfo/pyqt</a></div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Gustavo A. Díaz</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><a href="http://artistic.gdnet.com.ar" target="_blank">artistic.gdnet.com.ar</a><br></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">"Desarrollando un mundo Libre"</p></div></div>
</div>