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
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development