Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT_MAC_SYSTEMTRAY_USE_GROWL #define
Forum Updated to NodeBB v4.3 + New Features

QT_MAC_SYSTEMTRAY_USE_GROWL #define

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 714 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pullingmyhair
    wrote on last edited by
    #1

    Hi,

    I have a QT app that supports a system tray icon using QSystemTrayIcon. I understand that on 10.7 or lower, it uses growl for notifications. I have growl installed on my system, but don't see any notifications from my app.

    I did some search and noticed that in the QT source code there is a showMessage_sys method that has code within QT_MAC_SYSTEMTRAY_USE_GROWL #ifdef.

    Am wondering if the QT libraries I am using ( stock 5.4 installation ) has it undefined.

    Anyone knows who sets this QT_MAC_SYSTEMTRAY_USE_GROWL ?

    Thanks,
    Kiran

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You have to define it yourself when building Qt

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • P Offline
        P Offline
        pullingmyhair
        wrote on last edited by
        #3

        Thanks for the clarification.

        Does it mean, I need to have a build for one with growl support and one without? I need my application to be usable on 10.7 and above and I understand growl is only for 10.7 and below.

        Also, where do I define it ? Is there an option I pass in while calling .configure ?

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved