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

[Mac 10.8] QSystemTrayIcon::showMessage() shows nothing in notification center

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.1.1
    • None
    • - Mac OSX 10.8.4
      - Qt 5.1.1 installed with the online installer
    • macOS

    Description

      Since Qt 5.1, QSystemTrayIcon::showMessage() uses Growl on mac os prior to 10.8 and uses the native notification center on 10.8+.
      I'm on 10.8.4, and a simple call to showMessage() shows nothing on my mac, is correctly working on my VM (Win XP) and is correctly working on Mac OS 10.9 (tested with a compiled (on 10.8.4) app)

      main.cpp
      // ... ///
      QSystemTrayIcon    *sysTray(QIcon(":/icons/svg"));
      
      sysTray->show();
      sysTray->showMessage(QObject::tr("First start"), QObject::tr("Generating UUID..."));
      // ... //
      

      Attachments

        For Gerrit Dashboard: QTBUG-33733
        # Subject Branch Project Status CR V

        Activity

          People

            liaqi Liang Qi
            max13 Adnan RIHAN
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes