[Development] Qt 5.2 Testing
Jiergir Ogoerg
f35f22fan at gmail.com
Mon Oct 14 14:34:11 CEST 2013
Hi,
Is system tray supposed to work under Ubuntu Unity? cause it's been broken
ever since Qt 5.0 I guesss, including the recent Qt 5.2 beta release, the
problem is: the tray icon doesn't show up - but it does show up (i.e.
works) in Kubuntu (same computer, logging out of Unity, logging in into
kubuntu-desktop).
For the record - the system tray in kde4/qt4 works ok under Ubuntu/Unity.
Testing on amd64 Ubuntu 13.10 with all daily updates installed.
I only found this bug reported though I'm not sure it addresses this
problem:
https://bugreports.qt-project.org/browse/QTBUG-30079
To be more specific this code works in Kubuntu but doesn't in Ubuntu/Unity
(amd64 13.10 daily):
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
gst_init(NULL, NULL);
quap::ui::Win win;
QIcon icon("/home/fox/icon.png");
QSystemTrayIcon tray_icon(icon, &win);
tray_icon.setVisible(true); // WON'T SHOW UP under Ubuntu/unity
win.show();
return app.exec();
}
Kind Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20131014/f32258b6/attachment.html>
More information about the Development
mailing list