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

setApplicationIconBadgeNumber no available on OS X

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • 5.4.1
    • Extras: Mac
    • None
    • OS X 10.10
    • macOS

    Description

      There are 2 functions in the documentation http://doc.qt.io/qt-5/qtmac.html:

      int	applicationIconBadgeNumber()
      void	setApplicationIconBadgeNumber(int number)
      

      Unfortunately they are not available during compilation on OS X. Looking deeper in qtmacfunctions.h reveals probably they only exist for IOS:

      #ifdef Q_OS_IOS
      Q_MACEXTRAS_EXPORT void setApplicationIconBadgeNumber(int number);
      Q_MACEXTRAS_EXPORT int applicationIconBadgeNumber();
      #endif // Q_OS_IOS
      

      Why? The documentation says: "miscellaneous functionality specific to the OS X operating system"

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            beemaster Roman Pasechnik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes