Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-35501

in QT5.2.0 and QT5.1.1 QSystemTrayIcon doesn't appear on linux(ubuntu 12.04)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Duplicate
    • Affects Version/s: 5.1.1, 5.2.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      QSystemTrayIcon doesn't appear on linux(ubuntu 12.04)
      The code that is given below, I compiled both qt 5.1.1 and qt 4.8.5 and there isnt any problem with 4.8.5 but on 5.1.1 icon doesnt appear.

      code:
      QSystemTrayIcon* trayIcon = new QSystemTrayIcon;
      trayIcon->setIcon(QIcon(":/new/prefix1/cart512x512.png"));
      trayIcon->setToolTip(QString("Hello there..."));
      trayIcon->show();

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                peppe Giuseppe D'Angelo
                Reporter:
                vbmacit V. B. Macit
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes